joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4efa48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4efb6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov edi, eax
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov ebx, eax
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov esi, eax
lea eax, [ebp - 4]
call fcn.00545780
push 1
push 0x4efb84
push dword [ebp - 4]
push 0x4efb98
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.kernel32.dll_WinExec
push 1
push 0x4efb84
push dword [ebp - 4]
push 0x4efbb4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 0xc]
call fcn.004046a0
push eax
call sub.kernel32.dll_WinExec
push ebx
push esi
mov ecx, edi
mov edx, 0x4efbd0
mov eax, 0x4efbe4
call fcn.00548a30
mov eax, esi
call fcn.00548fd8
mov eax, ebx
call fcn.00549048
mov eax, 0x4efbfc
call fcn.005479e4
mov eax, 0x4efc1c
call fcn.005479e4
mov eax, 0x4efc3c
call fcn.005479e4
mov eax, 0x4efc5c
call fcn.005479e4
mov eax, 0x4efc70
call fcn.005479e4
mov eax, edi
call fcn.004033ac
mov eax, ebx
call fcn.004033ac
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efb72
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404204
ret

Function at 0x4efcb4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4efda5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov edi, eax
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov ebx, eax
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov esi, eax
lea eax, [ebp - 4]
call fcn.00545780
push 1
push 0x4efdbc
push dword [ebp - 4]
push 0x4efdd0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.kernel32.dll_WinExec
push 1
push 0x4efdbc
push dword [ebp - 4]
push 0x4efdec
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404560
mov eax, dword [ebp - 0xc]
call fcn.004046a0
push eax
call sub.kernel32.dll_WinExec
push ebx
push esi
mov ecx, edi
mov edx, 0x4efe08
mov eax, 0x4efe1c
call fcn.00548a30
mov eax, esi
call fcn.00548fd8
mov eax, ebx
call fcn.00549048
mov eax, edi
call fcn.004033ac
mov eax, ebx
call fcn.004033ac
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efdac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404204
ret
Function at 0x5090ec
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, edx
xor eax, eax
push ebp
push 0x509296
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00492c68
test al, al
je 0x509126
mov ecx, 0xf013f
mov dl, 1
mov eax, dword [0x492b68]
call fcn.00492d3c
mov dword [ebp - 4], eax
jmp 0x509135
mov dl, 1
mov eax, dword [0x492b68]
call fcn.00492cf8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x509274
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [ebp - 8]
mov edx, 0x5092ac
call fcn.00404278
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00492dec
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00492e54
test al, al
je 0x5091d4
mov edx, dword [0x508bac]
mov eax, 0x14
call fcn.004050dc
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.00404234
lea eax, [ebx + 8]
mov edx, 0x5092f8
call fcn.00404234
lea ecx, [ebp - 0xc]
mov edx, 0x5092f8
mov eax, dword [ebp - 4]
call fcn.0049362c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404234
mov edx, ebx
mov eax, esi
call fcn.00419ea0
lea eax, [ebp - 8]
mov edx, 0x5092ac
call fcn.00404278
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.00492dec
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00492e54
test al, al
je 0x50925e
mov edx, dword [0x508bac]
mov eax, 0x14
call fcn.004050dc
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.00404234
lea eax, [ebx + 8]
mov edx, 0x509310
call fcn.00404234
lea ecx, [ebp - 0x10]
mov edx, 0x509310
mov eax, dword [ebp - 4]
call fcn.0049362c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0xc]
call fcn.00404234
mov edx, ebx
mov eax, esi
call fcn.00419ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50927b
mov eax, dword [ebp - 4]
call fcn.004033ac
ret
Function at 0x509868
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x160], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404690
lea eax, [ebp - 0x15c]
mov edx, dword [0x407938]
call fcn.00404b98
xor eax, eax
push ebp
push 0x5099b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea ecx, [ebp - 0x15c]
mov edx, 0x10
mov eax, 0x5099c8
call fcn.00409330
jmp 0x509962
mov eax, dword [0x55e810]
mov eax, dword [eax]
call fcn.0048fe70
mov eax, dword [ebp - 0x150]
mov edx, 0x5099d4
call fcn.004045ec
je 0x509962
mov eax, dword [ebp - 0x150]
mov edx, 0x5099e0
call fcn.004045ec
je 0x509962
mov eax, dword [esi + 0x22c]
call fcn.00450c74
mov ebx, eax
mov edx, dword [ebp - 0x150]
mov eax, ebx
call fcn.00450714
push dword [ebp - 4]
push 0x5099ec
push dword [ebp - 0x150]
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.00404560
mov edx, dword [ebp - 0x160]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x5099f8
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x509a08
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x15c]
call fcn.00409380
test eax, eax
je 0x5098d2
mov edx, esi
mov eax, edi
call fcn.0050e2b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5099b7
lea eax, [ebp - 0x160]
call fcn.004041e0
lea eax, [ebp - 0x15c]
mov edx, dword [0x407938]
call fcn.00404c68
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x509b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x509c4e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
lea eax, [ebp - 0x109]
call fcn.00409920
mov edx, dword [ebp - 4]
mov eax, 0x509c64
call fcn.004047e4
dec eax
jl 0x509bf5
lea eax, [ebp - 0x110]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404700
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
mov ecx, 0x509c74
call main
jmp 0x509c1e
lea eax, [ebp - 0x114]
push eax
mov ecx, 3
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00404700
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
mov ecx, 0x509c88
call main
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509c55
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00404204
lea eax, [ebp - 4]
call fcn.004041e0
ret
Function at 0x50be84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x50be8c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50c049
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402730
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.004043d8
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x50c060
call main
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43c4b8]
call fcn.0043c568
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x50c01f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, 0x50c074
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x50c001
inc eax
mov dword [ebp - 0x14], eax
xor esi, esi
mov edx, dword [0x508be8]
mov eax, 8
call fcn.004050dc
mov ebx, eax
mov eax, ebx
mov edx, 0x50c074
call fcn.00404234
lea ecx, [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 4]
call fcn.00404234
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, ebx
call fcn.00419ea0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x22c]
call fcn.00450c74
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00450714
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, 0x50c074
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 8]
mov edx, 0x50c084
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004508cc
mov ecx, 2
mov edx, 2
mov eax, ebx
call fcn.004508cc
inc esi
dec dword [ebp - 0x14]
jne 0x50bf2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c026
mov eax, dword [ebp - 0xc]
call fcn.004033ac
mov eax, dword [ebp - 0x10]
call fcn.004033ac
ret
Function at 0x50c08c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x50c094
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50c235
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00402730
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.004043d8
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x50c24c
call main
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43c4b8]
call fcn.0043c568
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x417b98]
call fcn.0040337c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x50c20b
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, 0x50c260
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x50c1ed
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov edx, dword [0x508be8]
mov eax, 8
call fcn.004050dc
mov esi, eax
mov eax, esi
mov edx, 0x50c260
call fcn.00404234
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 4]
call fcn.00404234
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov edx, esi
call fcn.00419ea0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x22c]
call fcn.00450c74
mov esi, eax
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.00450714
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, 0x50c260
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 8]
mov edx, 0x50c26c
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x14]
jne 0x50c136
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c212
mov eax, dword [ebp - 0xc]
call fcn.004033ac
mov eax, dword [ebp - 0x10]
call fcn.004033ac
ret
Function at 0x5100dc
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 0x51033c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x51013f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0050fba4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d68c
cmp al, 1
jne 0x51013f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0050febc
test al, al
je 0x5102cb
cmp dword [ebp - 8], 0
jge 0x51015d
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.0050fba4
mov eax, dword [ebp - 0x210]
call fcn.004044a0
cmp ebx, eax
jge 0x5101a7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0050fba4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x55eca0]
and eax, 0xff
bt dword [edx], eax
jae 0x5101a7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x5101bb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005100b8
cmp ebx, dword [ebp - 8]
je 0x5102bd
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 0x5101e7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035a8
and eax, 0x7f
movzx eax, word [eax*2 + 0x55daa0]
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 0x5102aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035a8
and eax, 0x7f
movzx eax, word [eax*2 + 0x55daa0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004768f8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004035a8
and eax, 0x7f
movzx eax, word [eax*2 + 0x55daa0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004768f8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5102b1
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 0x51031e
cmp dword [ebp - 8], 0
jge 0x5102d6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0050fba4
mov eax, dword [ebp - 0x218]
call fcn.004044a0
cmp eax, dword [ebp - 8]
jg 0x510310
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0050fba4
mov eax, dword [ebp - 0x21c]
call fcn.004044a0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005100b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510343
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404204
ret
Function at 0x51dae0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffac
mov ebx, eax
push 0x51
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x51
call fcn.00404450
add esp, 0x54
pop ebx
ret

Function at 0x51db98
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51dcbf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004041e0
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x88]
sub eax, 1
jb 0x51dbea
je 0x51dbfc
dec eax
je 0x51dc43
jmp 0x51dc9f
lea eax, [ebp - 4]
mov edx, 0x51dcd4
call fcn.00404278
jmp 0x51dc9f
mov eax, dword [ebp - 0x90]
sub eax, 1
jb 0x51dc16
sub eax, 9
je 0x51dc25
sub eax, 0x50
je 0x51dc34
jmp 0x51dc9f
lea eax, [ebp - 4]
mov edx, 0x51dce4
call fcn.00404278
jmp 0x51dc9f
lea eax, [ebp - 4]
mov edx, 0x51dcf4
call fcn.00404278
jmp 0x51dc9f
lea eax, [ebp - 4]
mov edx, 0x51dd04
call fcn.00404278
jmp 0x51dc9f
mov eax, dword [ebp - 0x94]
cmp eax, 4
ja 0x51dc5d
lea eax, [ebp - 4]
mov edx, 0x51dd14
call fcn.00404278
jmp 0x51dc9f
cmp eax, 5
jne 0x51dc9f
mov eax, dword [ebp - 0x90]
sub eax, 1
jb 0x51dc74
je 0x51dc83
dec eax
je 0x51dc92
jmp 0x51dc9f
lea eax, [ebp - 4]
mov edx, 0x51dd24
call fcn.00404278
jmp 0x51dc9f
lea eax, [ebp - 4]
mov edx, 0x51dd34
call fcn.00404278
jmp 0x51dc9f
lea eax, [ebp - 4]
mov edx, 0x51dd44
call fcn.00404278
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51dcc6
lea eax, [ebp - 4]
call fcn.004041e0
ret
Function at 0x524370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x20019
lea eax, [esp + 4]
push eax
mov eax, dword [0x55e014]
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
je 0x5243b8
push 0
push 0
push 0
push 0
push 0x5243c4
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
push esi
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x525278
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffac
mov esi, eax
test esi, esi
jne 0x52528f
mov eax, 4
jmp 0x525481
mov al, byte [esi]
sub al, 1
jb 0x5252a1
je 0x5252ad
dec al
je 0x5252d5
sub al, 4
je 0x5252b9
jmp 0x5252c7
mov eax, esi
call fcn.00525154
jmp 0x525481
mov eax, esi
call fcn.00525244
jmp 0x525481
mov byte [esi + 1], 0
mov eax, 4
jmp 0x525481
mov byte [esi + 1], 4
mov eax, 4
jmp 0x525481
mov cl, byte [esi + 9]
mov dl, byte [esi + 8]
mov al, byte [esi + 2]
call fcn.005251ec
mov ebx, eax
test bl, bl
jne 0x5252f7
mov byte [esi + 1], 0x82
mov eax, 0x82
jmp 0x525481
cmp byte [esi + 0x30], 0x12
jne 0x525341
mov al, byte [esi + 2]
cmp al, byte [0x560a54]
jb 0x525316
mov byte [esi + 1], 0x81
mov eax, 0x81
jmp 0x525481
mov byte [esi + 1], 1
mov edx, dword [esi + 0x10]
xor eax, eax
mov al, bl
add eax, eax
lea eax, [eax + eax*4]
lea eax, [eax*8 + 0x560a64]
mov ecx, 0x24
call fcn.0040292c
mov eax, 1
jmp 0x525481
xor eax, eax
mov al, bl
mov edi, eax
add edi, edi
lea edi, [edi + edi*4]
cmp dword [edi*8 + 0x560a60], 0xffffffff
jne 0x525369
mov al, byte [edi*8 + 0x560a5b]
call fcn.00524f38
mov dword [edi*8 + 0x560a60], eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x50
call fcn.00402d20
mov al, byte [esi + 3]
test al, 8
je 0x525387
mov byte [esp + 0xc], 1
jmp 0x525397
test al, 0x10
je 0x525392
mov byte [esp + 0xc], 0
jmp 0x525397
mov byte [esp + 0xc], 2
mov word [esp + 4], 0x2c
mov al, byte [esi + 0x15]
mov byte [esp + 0xa], al
mov dl, byte [esi + 0x14]
mov byte [esp + 0xb], dl
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x78
mov edx, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0x30
xor ecx, ecx
mov cl, al
lea edx, [esp + 0x20]
lea eax, [esi + 0x30]
call fcn.0040292c
mov ebp, 0x50
push 0
lea eax, [esp + 4]
push eax
push ebp
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x18]
push eax
push 0x4d014
mov eax, dword [edi*8 + 0x560a60]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
cmp byte [esp + 6], 0
sete dl
test dl, al
je 0x52541c
mov byte [esi + 1], 1
jmp 0x525439
mov byte [esi + 1], 4
xor ecx, ecx
mov cl, byte [esp + 0xb]
lea edx, [esi + 0x40]
lea eax, [esp + 0x34]
call fcn.0040292c
mov al, byte [esp + 6]
mov byte [esi + 0x17], al
cmp byte [0x55dab8], 0
je 0x52547c
xor eax, eax
mov al, bl
add eax, eax
lea eax, [eax + eax*4]
cmp dword [eax*8 + 0x560a60], 0xffffffff
je 0x52547c
xor eax, eax
mov al, bl
mov edi, eax
add edi, edi
lea edi, [edi + edi*4]
mov eax, dword [edi*8 + 0x560a60]
push eax
call sub.kernel32.dll_CloseHandle
test eax, eax
je 0x52547c
mov dword [edi*8 + 0x560a60], 0xffffffff
xor eax, eax
mov al, byte [esi + 1]
add esp, 0x54
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5254e8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x525603
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x55dec0], 0
je 0x525511
xor ebx, ebx
jmp 0x5255e5
mov byte [ebp - 5], 0
mov byte [0x55dab4], 0
mov eax, 0x560a54
xor ecx, ecx
mov edx, 0x874
call fcn.00402d20
mov bl, 0x1b
mov eax, 0x560a60
mov dword [eax], 0xffffffff
add eax, 0x50
dec bl
jne 0x525534
mov bl, 2
mov esi, 0x560af8
lea eax, [ebp - 0xc]
mov edx, ebx
add dl, 0x41
call fcn.004043c8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x52561c
call main
lea eax, [ebp - 4]
call fcn.004046f8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp al, 5
jne 0x52558b
mov edx, esi
mov eax, ebx
call fcn.00525004
cmp byte [esi + 4], 0
je 0x52558f
inc byte [ebp - 5]
jmp 0x52558f
mov byte [esi + 1], 0x78
inc ebx
add esi, 0x50
cmp bl, 0x1b
jne 0x525548
call fcn.005254c4
mov byte [0x560a54], al
cmp byte [0x55dab4], 0
je 0x5255db
mov bl, 0x19
mov eax, 0x560afc
cmp byte [eax], 0
je 0x5255ca
cmp byte [eax - 2], 0xfa
jne 0x5255ca
mov byte [eax - 2], 0
mov dl, byte [0x560a54]
mov byte [eax - 4], dl
add eax, 0x50
dec bl
jne 0x5255b2
call fcn.005254c4
mov byte [0x560a54], al
mov byte [0x55dec0], 1
mov bl, byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52560a
lea eax, [ebp - 0xc]
call fcn.004041e0
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x53a13c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x53a1e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00542f80
mov eax, dword [ebp - 4]
mov edx, 0x53a1f8
call fcn.004045ec
je 0x53a196
mov eax, dword [ebp - 4]
mov edx, 0x53a208
call fcn.004045ec
je 0x53a196
mov eax, dword [ebp - 4]
mov edx, 0x53a218
call fcn.004045ec
je 0x53a196
mov eax, dword [ebp - 4]
mov edx, 0x53a228
call fcn.004045ec
jne 0x53a1a4
push 1
push 0x53a230
call sub.kernel32.dll_WinExec
jmp 0x53a1cc
mov dl, 1
mov eax, dword [ebx + 0x324]
call fcn.0046ff1c
mov dl, 1
mov eax, dword [ebx + 0x3bc]
call fcn.004370cc
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5393c4]
call fcn.00422f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a1e9
lea eax, [ebp - 4]
call fcn.004041e0
ret