joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444a4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477b40]
cmp dword [eax + 0x30], 0
je 0x444af6
cmp dword [ebx + 0x94], 0
jne 0x444af0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4449dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x444af0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x444ab6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x444af0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004149b8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x444ac5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x445658
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44568d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a54
jmp 0x44569a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4467a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4467e5
mov eax, esi
call fcn.00453364
test al, al
je 0x4467e5
mov eax, dword [ebx + 0x84]
call fcn.00453060
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4467e5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00453060
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44a390
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x477ba4], 0
je 0x44a4df
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x476370]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44a4df
mov eax, dword [0x477ba8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x477ba4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44a4ae
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x477ba4]
call fcn.004149b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44a4a6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44a4a6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44a4a6
mov eax, dword [ebp - 0x14]
call fcn.00453060
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44a4a6
push ebp
call fcn.0044a34c
pop ecx
test al, al
jne 0x44a4a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44a462
mov eax, dword [ebp - 0x14]
call fcn.00451b90
dec eax
jle 0x44a4a6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403d8c
cmp byte [ebp - 1], 0
je 0x44a4a6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44a4a6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x477ba8]
call fcn.00449b18
inc edi
dec ebx
jne 0x44a3f5
mov eax, dword [0x477ba8]
cmp dword [eax + 8], 0
jle 0x44a4c6
mov eax, dword [0x477ba8]
call fcn.00449ba8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44a4df
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044a1b4
pop ecx
test al, al
jne 0x44a4df
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44daf8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44db44
mov eax, esi
call fcn.0043cdf4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44db44
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44db44
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44dc83
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44db84
cmp eax, 0x108
ja 0x44db84
mov eax, esi
call fcn.0043cdf4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44dc7a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44dc83
jmp 0x44dc7a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44dc63
cmp eax, 0x20a
ja 0x44dc63
test byte [esi + 0x50], 0x80
jne 0x44dbb6
sub eax, 0x203
je 0x44dbb3
sub eax, 3
je 0x44dbb3
sub eax, 3
jne 0x44dbb6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44dbca
dec eax
je 0x44dbdf
dec eax
je 0x44dbfc
dec eax
je 0x44dbdf
jmp 0x44dc03
mov ecx, ebx
mov eax, dword [0x476370]
mov eax, dword [eax]
mov edx, esi
call fcn.0044665c
jmp 0x44dc7a
cmp byte [esi + 0x5d], 1
jne 0x44dbf5
mov eax, esi
mov si, 0xffed
call fcn.00403d8c
jmp 0x44dc83
or word [esi + 0x54], 1
jmp 0x44dc7a
and word [esi + 0x54], 0xfffe
jmp 0x44dc7a
mov eax, dword [0x477b60]
cmp byte [eax + 0x20], 0
je 0x44dc7a
mov eax, dword [0x477b60]
cmp dword [eax + 0x1c], 0
je 0x44dc7a
mov eax, dword [ebx]
mov edx, dword [0x477b60]
cmp eax, dword [edx + 0x1c]
jne 0x44dc7a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0043cd38
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403d8c
jmp 0x44dc83
cmp eax, 0xb00b
jne 0x44dc7a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044c3e0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4511f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45120c
cmp dword [esi + 4], 0
je 0x451239
test byte [ebx + 0x55], 1
jne 0x45122b
mov eax, ebx
call fcn.0044fd90
test eax, eax
jne 0x45122b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x451349
mov edx, esi
mov eax, ebx
call fcn.00450d14
jmp 0x451349
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x451342
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00453060
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044da2c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004511f0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00453060
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451349
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457a60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x476500]
cmp byte [eax + 0xc], 0
je 0x457bcd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457bc6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477bb4], 0
jne 0x457ab4
push 0x457bd4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x457bdc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bb4], eax
cmp dword [0x474dc8], 0
jne 0x457baf
push 0x457bec
call sub.kernel32.dll_LoadLibraryA
mov dword [0x474dc8], eax
cmp dword [0x474dc8], 0
je 0x457baf
push 0x457bf8
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bb8], eax
push 0x457c08
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bbc], eax
push 0x457c1c
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bc0], eax
push 0x457c34
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bc4], eax
push 0x457c4c
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bc8], eax
push 0x457c60
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bcc], eax
push 0x457c78
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bd0], eax
push 0x457c90
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bd4], eax
push 0x457cac
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bd8], eax
push 0x457cb8
mov eax, dword [0x474dc8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x477bdc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457bcd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45bf2c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404964
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45bf7b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404bd4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4728c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xa8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4729ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
sub eax, 1
jb 0x47290e
je 0x47291f
dec eax
je 0x472967
jmp 0x4729b6
mov eax, ebx
mov edx, 0x472a04
call fcn.004049b8
jmp 0x4729b6
mov eax, ebx
mov edx, 0x472a14
call fcn.004049b8
mov eax, dword [ebp - 0x8c]
sub eax, 1
jb 0x47293d
sub eax, 9
je 0x47294b
jmp 0x472959
mov eax, ebx
mov edx, 0x472a28
call fcn.00404c2c
jmp 0x4729b6
mov eax, ebx
mov edx, 0x472a34
call fcn.00404c2c
jmp 0x4729b6
mov eax, ebx
mov edx, 0x472a40
call fcn.00404c2c
jmp 0x4729b6
mov esi, dword [ebp - 0x90]
cmp esi, 5
jae 0x4729aa
push ebx
mov dword [ebp - 0xa4], esi
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
lea edx, [ebp - 0xa4]
mov ecx, 1
mov eax, 0x472a4c
call fcn.004098bc
jmp 0x4729b6
mov eax, ebx
mov edx, 0x472a68
call fcn.004049b8
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x80]
mov ecx, 0x80
call fcn.00404bd4
mov edx, dword [ebp - 0xa8]
mov eax, ebx
call fcn.00404c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4729f6
lea eax, [ebp - 0xa8]
call fcn.00404964
ret

Function at 0x472a78
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov ebx, eax
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
push ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
fild qword [ebp - 0x30]
fdiv dword [0x472ad0]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00469684
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x472adc
call fcn.004098bc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00406dc2
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00406dc2
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00406dc2
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00406dc2
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00406dc2
mov dword [0x41203c], eax
call fcn.00406dc2
test eax, eax
jge 0x402550
push 8
call fcn.00406dc2
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00406dc2
pop ecx
push 1
call fcn.00406dc2
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00406dc2
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00406dc2
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00406dc2
jmp 0x402495

Function at 0x406dc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x406dd1
pop dword [ebp - 0x2c]
mov eax, 0x1635322c
add eax, 0xea0b3ba5
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x36a05
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x3d53
xor esi, esi
add esi, eax
mov edx, 0x88672328
sub edx, 0x8825e764
add edx, dword [ebp - 0x2c]
mov edi, 0xab34500f
sub edi, 0x3e6fcfe2
xor dword [ebp - 0x20], eax
mov ebx, dword [edx]
add ebx, edi
xor dword [ebp - 4], 0xd8390389
mov dword [esi], ebx
add esi, 0xe5c89750
sub esi, 0xe5c8974c
add edx, 0x1db50f48
add edx, 0xe24af0bc
loop 0x406e27
add eax, 0x20be47dc
sub eax, 0x20bd5fbd
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0xe046747
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x262d673f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x402c00
pop dword [ebp - 0x48]
mov eax, 0x402c00
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x4ca9dc21
add dword [ebp - 0x58], 0x1a8692a
mov dword [ebp - 0x54], 0xb7eb8918
sub dword [ebp - 0x54], 0x85b83cd3
mov dword [ebp - 0x50], 0x2f8460e
add dword [ebp - 0x50], 0x4953fe20
mov dword [ebp - 0x4c], 0x2392c98
add dword [ebp - 0x4c], 0xfdc6d368
lea eax, [ebp - 0x58]
push eax
mov eax, 0xfcfe5dfb
add eax, 0x3422291
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x9121afc3
add dword [ebp - 0x58], 0xe350b993
mov dword [ebp - 0x54], 0x6c552e3d
sub dword [ebp - 0x54], 0x2ae8ccc8
mov dword [ebp - 0x50], 0xb386608e
sub dword [ebp - 0x50], 0x5016f422
mov dword [ebp - 0x4c], 0xa4ff63d3
add dword [ebp - 0x4c], 0x5b009c2d
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xc65ab4bd
add eax, 0x39e5cc17
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x37012
push 0
call eax
mov ecx, 0x588023a5
sub ecx, 0x587fda62
xor esi, esi
add esi, eax
mov edx, 0xe877f0f0
add edx, 0x17c91f10
add edx, dword [ebp - 0x48]
mov edi, 0xdbce7791
sub edi, 0xa19f96bb
sub dword [ebp - 0x2c], edi
mov ebx, dword [edx]
xor dword [ebp - 0x30], eax
add ebx, edi
mov dword [ebp - 0x34], 0x48e0c31b
mov dword [esi], ebx
xor dword [ebp - 0x2c], 0x692c3f48
add esi, 0x3706696e
sub esi, 0x3706696a
add edx, 0x96de2549
add edx, 0x6921dabb
loop 0x402d1f
add eax, 0xdab45ee1
sub eax, 0xdab34702
mov ebx, eax
add eax, 5
mov ecx, 0xda5ed4a0
add ecx, 0x25e12b60
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x117e7c42
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3da07ed5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x44015a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x440168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x44014a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x440145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x440145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret