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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b5a5c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4b585f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004b52c4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e21c
cmp al, 1
jne 0x4b585f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004b55dc
test al, al
je 0x4b59eb
cmp dword [ebp - 8], 0
jge 0x4b587d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004b52c4
mov eax, dword [ebp - 0x210]
call fcn.00404aec
cmp ebx, eax
jge 0x4b58c7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004b52c4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5a22d4]
and eax, 0xff
bt dword [edx], eax
jae 0x4b58c7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4b58db
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004b57d8
cmp ebx, dword [ebp - 8]
je 0x4b59dd
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4b5907
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b60
and eax, 0x7f
movzx eax, word [eax*2 + 0x59da58]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4b59ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b60
and eax, 0x7f
movzx eax, word [eax*2 + 0x59da58]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045535c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b60
and eax, 0x7f
movzx eax, word [eax*2 + 0x59da58]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045535c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b59d1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4b5a3e
cmp dword [ebp - 8], 0
jge 0x4b59f6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004b52c4
mov eax, dword [ebp - 0x218]
call fcn.00404aec
cmp eax, dword [ebp - 8]
jg 0x4b5a30
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004b52c4
mov eax, dword [ebp - 0x21c]
call fcn.00404aec
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004b57d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5a63
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404858
ret
Function at 0x4be710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
test dl, dl
je 0x4be72e
add esp, 0xfffffff0
call fcn.00403cc8
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4be7ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00403934
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x20], edx
mov dl, 1
mov eax, dword [0x42a17c]
call fcn.0042b954
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004bed1c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4beb3c
mov dl, 1
mov eax, dword [0x41d084]
call fcn.00403934
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
lea eax, [ebp - 0x1c]
call fcn.0041a28c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.004058a8
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 1
mov dl, byte [0x4be814]
mov ax, 0x2e
call fcn.0045e5fc
mov edx, dword [ebp - 4]
mov word [edx + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be7f4
lea eax, [ebp - 0x1c]
call fcn.004059e0
ret

Function at 0x4bfd38
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
cmp byte [ebp - 5], 0
je 0x4bfd5c
push 5
mov eax, dword [ebp - 4]
call fcn.0045535c
push eax
call sub.user32.dll_ShowWindow
jmp 0x4bfd6c
push 0
mov eax, dword [ebp - 4]
call fcn.0045535c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c3b80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x4c3bc4]
mov byte [ebp - 1], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c3b9c
or byte [ebp - 1], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c3bac
or byte [ebp - 1], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c3bbc
or byte [ebp - 1], 2
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret

Function at 0x4e533c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2ec], 0
jne 0x4e53a0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b9ac8]
call fcn.004bff98
mov edx, dword [ebp - 4]
mov dword [edx + 0x2ec], eax
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.0044ea88
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
call fcn.0045535c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ec]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4e7600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x4e76d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x338], 0
je 0x4e7641
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call dword [eax + 0x2c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x308], eax
jmp 0x4e7659
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b9ce4]
call fcn.004c0da0
mov edx, dword [ebp - 4]
mov dword [edx + 0x308], eax
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0044ea88
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0045549c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0045535c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 4]
mov dword [eax + 0xe4], edx
mov dword [eax + 0xe0], 0x4e772c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2ac], edx
mov dword [eax + 0x2a8], 0x4e76ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret
Function at 0x5372d4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x66c], 0
jne 0x5373b0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b9ce4]
call fcn.004c0da0
mov edx, dword [ebp - 4]
mov dword [edx + 0x66c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
mov byte [eax + 0x2b8], 1
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
call fcn.0044ea88
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
call fcn.0045549c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
call fcn.0045535c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
mov edx, dword [ebp - 4]
mov dword [eax + 0xe4], edx
mov dword [eax + 0xe0], 0x5373c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1dc], edx
mov dword [eax + 0x1d8], 0x53741c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x1e4], edx
mov dword [eax + 0x1e0], 0x537444
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x66c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop ebp
ret
Function at 0x552b74
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
push ebx
xor ecx, ecx
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd8], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x552c05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xc8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xcd]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0xd8]
lea edx, [ebp - 0xcd]
mov ecx, 0xc9
call fcn.00404a9c
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd4]
call fcn.004093c8
mov eax, dword [ebp - 0xd4]
mov edx, ebx
call fcn.00409178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552c0c
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.00404858
ret

Function at 0x552c20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x552d39
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 3
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x94], 4
jne 0x552c6e
cmp dword [ebp - 0x90], 0xa
jne 0x552c6e
mov bl, 2
jmp 0x552d23
cmp dword [ebp - 0x94], 4
jne 0x552c87
cmp dword [ebp - 0x90], 0
jne 0x552c87
xor ebx, ebx
jmp 0x552d23
cmp dword [ebp - 0x94], 4
jne 0x552ca0
cmp dword [ebp - 0x90], 0x5a
jne 0x552ca0
mov bl, 1
jmp 0x552d23
cmp dword [ebp - 0x94], 5
jne 0x552cbf
cmp dword [ebp - 0x90], 0
jne 0x552cbf
cmp dword [ebp - 0x88], 2
jne 0x552cbf
mov bl, 3
jmp 0x552d23
cmp dword [ebp - 0x94], 5
jne 0x552d06
cmp dword [ebp - 0x90], 1
jne 0x552d06
cmp dword [ebp - 0x88], 2
jne 0x552d06
lea eax, [ebp - 4]
lea edx, [ebp - 0x84]
mov ecx, 0x80
call fcn.00404a9c
mov edx, dword [ebp - 4]
mov eax, 0x552d50
call fcn.00409294
test al, al
je 0x552d02
mov bl, 4
jmp 0x552d23
mov bl, 5
jmp 0x552d23
cmp dword [ebp - 0x94], 5
jne 0x552d23
cmp dword [ebp - 0x90], 2
jne 0x552d23
cmp dword [ebp - 0x88], 2
jne 0x552d23
mov bl, 6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552d40
lea eax, [ebp - 4]
call fcn.00404834
ret

Function at 0x552e50
Capabilities:
Terminate process

Disassembly:
push ebx
push ecx
xor eax, eax
test edx, edx
je 0x552e7b
push edx
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push esp
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [esp]
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
pop edx
pop ebx
ret

Function at 0x552e80
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
mov eax, ebx
call fcn.00404834
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404a9c
add esp, 0x100
pop ebx
ret

Function at 0x552eb8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
mov eax, ebx
call fcn.00404834
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404a9c
add esp, 0x100
pop ebx
ret
Function at 0x552ef0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
mov eax, ebx
call fcn.00404834
push esp
push 0xff
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404a9c
add esp, 0x100
pop ebx
ret

Function at 0x552f24
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404cd4
mov eax, dword [ebp + 0xc]
call fcn.00404cd4
xor eax, eax
push ebp
push 0x55303b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.0040318c
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 1
cmp dword [ebp + 0xc], 0
je 0x552f91
mov eax, dword [ebp + 0xc]
call fcn.00409d30
test al, al
jne 0x552f9e
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409edc
jmp 0x552fa9
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
call fcn.004048cc
test ebx, ebx
jle 0x552fb1
mov esi, ebx
jmp 0x552fb4
or esi, 0xffffffff
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404ce4
push eax
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404ce4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x553015
test ebx, ebx
jl 0x552ffe
push esi
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x553015
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x553015
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553042
lea eax, [ebp - 0xc]
call fcn.00404834
lea eax, [ebp - 4]
call fcn.00404834
lea eax, [ebp + 0xc]
call fcn.00404834
ret
Function at 0x557ab4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x557abc
push ecx
xor eax, eax
push ebp
push 0x557c68
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [0x5a1fbc]
mov eax, dword [eax]
call fcn.0046fa64
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
call fcn.00409f10
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00409f10
cmp dword [ebp - 8], 0
jne 0x557b1f
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00409f10
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
call fcn.00404af4
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00409f10
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409294
test al, al
je 0x557bc2
mov edx, dword [ebp - 4]
mov eax, 0x557c7c
call fcn.00404e28
test eax, eax
je 0x557b5c
mov edx, eax
dec edx
lea eax, [ebp - 4]
call fcn.00404e70
lea edx, [ebp - 0x1c]
mov eax, dword [0x5a1fbc]
mov eax, dword [eax]
call fcn.0046fa64
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
call fcn.00409edc
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x557c88
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bac
mov eax, dword [ebp - 0xc]
call fcn.00409d20
test al, al
je 0x557ba8
mov eax, dword [ebp - 0xc]
call fcn.00404ce4
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x20]
mov eax, dword [0x5a1fbc]
mov eax, dword [eax]
call fcn.0046fa64
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00409e38
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor ecx, ecx
call fcn.005566a4
test al, al
jne 0x557c45
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, 0x556634
call fcn.00406d8c
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov ecx, 1
pop eax
call fcn.0040a834
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005593e8
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.00404af4
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x4084c4]
call fcn.0040d930
call fcn.004041f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557c6f
lea eax, [ebp - 0x3c]
call fcn.00404834
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404858
ret
Function at 0x557d4c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor edx, edx
push ebp
push 0x557db3
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00557ab4
pop ecx
push 0
push 0x557dc0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 4]
mov edx, 0x557dcc
call fcn.00404b38
mov eax, dword [ebp - 4]
call fcn.00404ce4
push eax
push 0x557dd4
push 0x557dc0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557dba
lea eax, [ebp - 4]
call fcn.00404834
ret

Function at 0x557f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x557fd7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x557fe4
push 0x557ff0
mov eax, dword [ebp + 8]
push dword [eax - 8]
push 0x558000
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404bac
mov eax, dword [ebp - 4]
call fcn.00404ce4
push eax
push 0x558004
push 0x557fe4
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x557fde
lea eax, [ebp - 4]
call fcn.00404834
ret
Function at 0x558da0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x558ec7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x90]
call fcn.00409f90
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x90]
call fcn.00404888
cmp byte [ebx + 0x60], 0
je 0x558e90
call fcn.00402b18
cmp eax, 2
jle 0x558e4f
lea edx, [ebp - 8]
mov eax, 2
call fcn.00402b78
mov eax, dword [ebp - 8]
mov edx, 0x558ee0
call fcn.00404c30
jne 0x558e4f
push 5
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x90]
call fcn.00409edc
mov eax, dword [ebp - 0xc]
call fcn.00404ce4
push eax
lea eax, [ebp - 0x10]
call fcn.00558d1c
mov eax, dword [ebp - 0x10]
call fcn.00404ce4
push eax
mov eax, dword [ebx + 0x90]
call fcn.00404ce4
push eax
push 0x558ef0
push 0
call sub.shell32.dll_ShellExecuteA
mov esi, eax
jmp 0x558eac
push 5
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x90]
call fcn.00409edc
mov eax, dword [ebp - 0x14]
call fcn.00404ce4
push eax
mov eax, dword [ebx + 0x94]
call fcn.00404ce4
push eax
mov eax, dword [ebx + 0x90]
call fcn.00404ce4
push eax
push 0x558ef0
push 0
call sub.shell32.dll_ShellExecuteA
mov esi, eax
jmp 0x558eac
lea edx, [ebp - 0x18]
mov eax, 0x556684
call fcn.00406d8c
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5a1a64]
mov eax, dword [eax]
call fcn.004b4c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x558ece
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404858
ret

Function at 0x559658
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
xor edx, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x559736
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov byte [eax - 1], 0
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x148]
mov ecx, 0x55974c
call fcn.00404b38
mov eax, dword [ebp - 0x148]
call fcn.00404ce4
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x559715
lea eax, [ebp - 4]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404a9c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x5596fe
lea eax, [ebp - 4]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404a9c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x5596dd
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55973d
lea eax, [ebp - 0x148]
call fcn.00404834
lea eax, [ebp - 4]
call fcn.00404834
ret
Function at 0x55b7b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55b935
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x59df00], 0
jne 0x55b912
push 0x5a42dc
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x55b90b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x59df00], 0
jne 0x55b8f3
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e70
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ce4
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004090bc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x55b94c
call fcn.0040a834
mov eax, dword [ebp - 0xc]
call fcn.00404ce4
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x55b874
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404e70
jmp 0x55b8ab
lea eax, [ebp - 8]
mov edx, 0x55b96c
call fcn.004048cc
xor eax, eax
push ebp
push 0x55b8a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0048e568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55b8ab
mov eax, dword [ebp - 8]
call fcn.00404ce4
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x59df00], eax
cmp dword [0x59df00], 0
jne 0x55b8de
mov ecx, dword [0x5a1e4c]
mov dl, 1
mov eax, dword [0x4084c4]
call fcn.0040d9ec
call fcn.004041f4
push 0x55b978
mov eax, dword [0x59df00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a42f4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55b912
push 0x5a42dc
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55b93c
lea eax, [ebp - 0x18]
call fcn.00404834
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404858
ret

Function at 0x55bb98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xffffffb8
mov dword [esp], eax
mov eax, dword [0x5a20b4]
cmp byte [eax], 0
je 0x55bbf7
mov eax, dword [0x5a1c08]
call fcn.00402fd0
call fcn.00402958
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
call fcn.0040a05c
push eax
lea eax, [esp + 0xc]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 8]
push eax
push 2
push 0x55bc3c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x55bc2d
push 0x40
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x5a1b6c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5a3718]
call fcn.004062d4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x48
ret