joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445017
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x4535a5
call fcn.0041c4dd
cmp byte [0x499665], 0
jne 0x445094
xor esi, esi
lea eax, [ebp - 0x48]
push eax
push esi
push 0x499260
push 0x4030a0
push esi
push esi
mov dword [0x4995d0], esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], esi
call fcn.0044b3a0
or dword [ebp - 4], 0xffffffff
mov dword [0x4995d0], eax
jmp 0x44506d
cmp dword [ebp - 0x48], 0
je 0x44508b
push esi
push esi
push 0x502
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4995d0], 0
je 0x44509a
call fcn.0041c42f
ret
lea ecx, [ebp - 0x2c]
call fcn.00402161
mov dword [ebp - 4], 2
call fcn.00407070
test al, al
lea eax, [ebp - 0x44]
je 0x4450da
push 0x2b
push 0x13
push eax
call fcn.00444590
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401b93
lea ecx, [ebp - 0x44]
call fcn.004022e6
lea ecx, [ebp - 0x2c]
call fcn.0044a29d
jmp 0x4450f5
push 0x29
push 0x11
push eax
call fcn.00444590
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401b93
lea ecx, [ebp - 0x44]
call fcn.004022e6
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405512
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x68]
call fcn.00404ae2
push 0x46db1c
lea eax, [ebp - 0x68]
push eax
call fcn.0041f64e
int3

Function at 0x445120
Capabilities:
Create thread

Disassembly:
push esi
call fcn.004226ad
cmp byte [0x499665], 0
mov esi, eax
jne 0x44517d
cmp dword [0x4995cc], 0
jne 0x44517d
cmp word [0x49966e], 3
push edi
mov edi, 0x499668
jne 0x445161
mov ecx, edi
call fcn.00402294
test al, 1
je 0x445161
mov eax, dword [0x499370]
shr eax, 9
test al, 1
je 0x44517c
push 0x4995d4
xor eax, eax
push eax
push edi
push 0x405864
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4995d8], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x445247
Capabilities:
Check mutex on windows

Disassembly:
push 0x64
mov eax, 0x453635
call fcn.0041c471
mov eax, dword [0x499370]
shr eax, 0xe
test al, 1
je 0x4452ea
push 0x499278
lea ecx, [ebp - 0x28]
call fcn.004055d5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x467730
call fcn.00401b54
push 0x4676f8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401b54
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.0040a310
pop ecx
lea ecx, [ebp - 0x58]
call fcn.004025ca
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004025ca
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4995dc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4452f0
lea ecx, [ebp - 0x28]
call fcn.004025ca
call fcn.0041c420
ret
push 0x2e
push 0x29
lea eax, [ebp - 0x70]
push eax
call fcn.00444590
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0044a29d
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.00405512
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00404ae2
push 0x46db1c
lea eax, [ebp - 0x50]
push eax
call fcn.0041f64e
int3

Function at 0x44575a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4992a0], 0
push esi
mov esi, 0x499290
jne 0x445875
push ebx
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.004022f6
cmp dword [0x4992a4], 7
mov eax, esi
cmova eax, dword [0x499290]
xor ebx, ebx
push ebx
push eax
call fcn.00427363
pop ecx
pop ecx
test eax, eax
je 0x4457d3
push 0x460c04
mov ecx, esi
call fcn.004022f6
mov ecx, esi
call fcn.00408968
cmp dword [0x4992a0], ebx
je 0x4457f8
cmp dword [0x4992a4], 7
mov eax, esi
push ebx
cmova eax, dword [0x499290]
push eax
call fcn.00427363
pop ecx
pop ecx
test eax, eax
je 0x44580b
push str.TEMP
call fcn.00427da8
pop ecx
push eax
mov ecx, esi
call fcn.004022f6
cmp dword [0x4992a0], ebx
je 0x445830
cmp dword [0x4992a4], 7
mov eax, esi
push ebx
cmova eax, dword [0x499290]
push eax
call fcn.00427363
pop ecx
pop ecx
test eax, eax
je 0x445843
push 0x467728
call fcn.00427da8
pop ecx
push eax
mov ecx, esi
call fcn.004022f6
cmp dword [0x4992a0], ebx
je 0x445868
cmp dword [0x4992a4], 7
mov eax, esi
push ebx
cmova eax, dword [0x499290]
push eax
call fcn.00427363
pop ecx
pop ecx
test eax, eax
je 0x445874
push 0x499260
mov ecx, esi
call fcn.0040560b
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041bb35
leave
ret
Function at 0x4495df
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [esi + 0xc], 0x201
jne 0x4496d0
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0041d9c0
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x44b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], eax
xor eax, eax
push 7
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
lea edi, [ebp - 0x234]
pop ecx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x238], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebx + 0xb8]
pop edi
cmp eax, dword [ebx + 0xbc]
je 0x4496d3
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4496d3
and dword [eax], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bb35
leave
ret 0xc
Function at 0x44edb0
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x44edcd
mov eax, dword [esi]
test eax, eax
je 0x44eef1
cmp word [eax], 0
je 0x44eef1
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44eef1
test al, 0x10
jne 0x44eef1
cmp dword [esi + 0x14], 7
jbe 0x44edff
mov esi, dword [esi]
push 0x467750
push esi
call fcn.00422063
mov esi, eax
add esp, 8
test esi, esi
je 0x44eef1
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [esp + 0x18], xmm0
call fcn.004297ab
push 2
push 0
push esi
call fcn.00428e2e
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004297ab
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00429ce2
add esp, 0x24
cmp dword [esp + 0x10], 0x28
jbe 0x44eee8
xor eax, eax
mov dword [esp + 0x20], 0x48535844
push esi
push 1
mov word [esp + 0x40], ax
xorps xmm0, xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x28]
push 0x28
push eax
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movsd qword [esp + 0x40], xmm0
call fcn.004283f4
add esp, 0x10
test eax, eax
je 0x44eee8
mov eax, dword [esp + 0x2c]
not eax
ror eax, 3
cmp eax, dword [esp + 0xc]
jne 0x44eee8
cmp dword [esp + 0x20], 0x48535844
jne 0x44eee8
cmp dword [esp + 0x24], 0x28
jne 0x44eee8
movzx ecx, word [esp + 0x38]
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
add eax, 0x28
add eax, ecx
cmp eax, dword [esp + 0x10]
sete bl
push esi
call fcn.0042249e
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438caf
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
inc ebx
dec eax
add ebx, 0x8643170b
call fcn.00438cf3
mov eax, 0x8fe64908
xor dword [edi], esi
mov ebx, 0x1be520be
sub ebx, eax
add eax, ebx
inc edi
add eax, 0xadf3daf7
sub eax, 0x55eea16c
add ebx, ebx
cmp edi, edx
jne fcn.00438caf
sub eax, 0xa45786e
add ebx, ebx
or eax, eax
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d0b
cmp byte [esi + ebx - 1], 0xa
je 0x401cdf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4030f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x402320
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x401d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d58
cmp byte [esi + ebx - 1], 0xa
je 0x401d2c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4040fc], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401da0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov edx, 2
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
movzx eax, word [eax]
test ax, 0xffdf
je 0x401e37
cmp ax, 9
je 0x401e37
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], ecx
cmp ax, 0x5c
je 0x401e25
lea esi, cs:[esi]
nop
cmp ax, 0x22
je 0x401f58
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + edx*2 - 2]
test ax, ax
je 0x401e35
cmp ax, 9
lea edi, [edx + 1]
sete bl
cmp ax, 0x20
mov esi, ebx
sete bl
mov ecx, esi
or cl, bl
je 0x401e1d
test byte [ebp - 0x1c], 1
je 0x401e35
mov edx, edi
cmp ax, 0x5c
jne 0x401de0
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x10]
movzx eax, word [eax + edx*2 - 2]
test ax, ax
jne 0x401dfe
add edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x20], eax
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x401f27
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
movzx edx, word [eax]
test dx, 0xffdf
je 0x401fc7
cmp dx, 9
je 0x401fc7
xor ebx, ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ecx
lea esi, [esi]
add eax, 2
cmp dx, 0x5c
je 0x401f38
cmp dx, 0x22
je 0x401f70
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
lea edi, [esi + 2]
mov word [esi], dx
mov dword [ebp - 0x10], edi
movzx edx, word [eax]
test dx, dx
je 0x401eea
cmp dx, 9
sete bl
cmp dx, 0x20
mov edi, ebx
sete bl
mov esi, ebx
mov ebx, edi
mov ecx, esi
or bl, cl
je 0x401e98
test byte [ebp - 0x1c], 1
jne 0x401e98
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
xor edx, edx
mov word [ecx], dx
mov dword [esi], eax
movzx edx, word [eax]
cmp dx, 9
je 0x401f06
cmp dx, 0x20
jne 0x401f27
add eax, 2
lea esi, [esi]
mov edi, dword [ebp - 0x18]
mov dword [edi], eax
movzx edx, word [eax]
add eax, 2
cmp dx, 9
je 0x401f10
cmp dx, 0x20
je 0x401f10
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x10]
mov ebx, 0x5c
inc dword [ebp - 0x14]
lea ecx, [edi + 2]
mov word [edi], bx
mov dword [ebp - 0x10], ecx
jmp 0x401ec2
and dword [ebp - 0x10], 1
jne 0x401dea
xor dword [ebp - 0x1c], 1
jmp 0x401df1
mov esi, dword [ebp - 0x14]
mov ebx, esi
shr ebx, 0x1f
mov edx, ebx
add edx, esi
sar edx, 1
and esi, 1
jne 0x401fa0
add edx, edx
xor dword [ebp - 0x1c], 1
sub dword [ebp - 0x10], edx
mov dword [ebp - 0x14], 0
jmp 0x401ec2
mov esi, dword [ebp - 0x10]
mov ebx, 0x7fffffff
mov ecx, 0x22
mov dword [ebp - 0x14], 0
sub ebx, edx
lea edx, [esi + ebx*2]
lea edi, [edx + 2]
mov word [edx], cx
mov dword [ebp - 0x10], edi
jmp 0x401ec2
mov ecx, dword [ebp - 0x20]
jmp 0x401eed
Function at 0x403300
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40338b
cmp ax, 9
je 0x403378
cmp ax, 0x20
je 0x403378
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp ax, 0x5c
je 0x4033e0
cmp ax, 0x22
je 0x4033f0
mov dword [ebp - 0x54], 0
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40338b
cmp ax, 9
sete cl
cmp ax, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x403330
test edi, 1
jne 0x403330
lea esi, [esi]
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x403378
cmp ax, 0x20
je 0x403378
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x403408
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x40334b
and dword [ebp - 0x54], 1
jne 0x403344
xor edi, 1
jmp 0x40334b
mov eax, 1
mov esi, 1
mov word [ebp - 0x20], ax
jmp 0x4033a4

Function at 0x403420
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push 0x40
push 0x1000
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
movq xmm0, qword [str.shellcode]
push 0
push eax
movq qword [eax], xmm0
mov cx, word [0x403068]
push 0
push 0
mov word [eax + 8], cx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EnumFontsW]
xor eax, eax
ret

Function at 0x401845
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401884
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401884
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401884
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401884
cmp dword [ecx + 0x74], 0xe
jbe 0x401884
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x12a60a49
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x694d454e
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403793
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4037bc
cmp al, 0x22
je 0x4037b4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4037a8
cmp byte [esi], 0x22
jne 0x4037c6
inc esi
jmp 0x4037c6
cmp al, 0x20
jle 0x4037c6
inc esi
cmp byte [esi], 0x20
jg 0x4037c0
mov al, byte [esi]
test al, al
je 0x4037d0
cmp al, 0x20
jle 0x4037b9
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040383e
push 0x405004
push section..data
call fcn.00403824
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403800
movzx eax, word [ebp - 0x14]
jmp 0x403803
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00403856
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret