joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4578a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54888d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xb0]
add ecx, 0x54
call fcn.004585b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb0]
add ecx, 0x5c
call fcn.004585b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xb0]
add ecx, 0x64
call fcn.004585b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb0]
add ecx, 0x6c
call fcn.004585b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb0]
add ecx, 0x84
call fcn.00458670
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xb0]
add ecx, 0x8c
call fcn.00458670
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb0]
add ecx, 0x94
call fcn.00458670
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb0]
add ecx, 0x9c
call fcn.00458670
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xb0]
add ecx, 0xa4
call fcn.00458670
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xb0]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], 0
mov ecx, dword [ebp - 0xb0]
call fcn.00457ec0
mov edx, dword [ebp - 0xb0]
mov dword [edx + 0x74], 0
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x78], 0
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0x7c], 0
mov edx, dword [ebp - 0xb0]
mov dword [edx + 0x80], 0
mov ecx, dword [ebp - 0xb0]
call fcn.00457bd0
mov dword [ebp - 0xac], 0x94
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 2
jne 0x457a20
cmp dword [ebp - 0xa8], 5
jae 0x457a20
mov dword [ebp - 0xb4], 1
jmp 0x457a2a
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb4]
mov dword [ecx + 0xac], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret
Function at 0x45b510
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548ca1
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
push 0
push 9
mov ecx, dword [ebp + 8]
call fcn.00437b70
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x45b58b
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0045c120
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp + 8]
call fcn.00409760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00408fa0
mov dword [ebp - 0x14], 0
movzx ecx, word [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.0045bfc0
mov dword [ebp - 0x18], eax
jmp 0x45b5b6
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 4]
imul eax, eax, 6
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x45b6db
cmp dword [ebp - 0x14], 0
je 0x45b5cf
mov dword [ebp - 0x7c], 0x56a5b4
jmp 0x45b5d6
mov dword [ebp - 0x7c], 0x56a5b8
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
and ecx, 0x10
je 0x45b5fa
push str.Alt
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
and eax, 8
je 0x45b612
push str.Ctrl
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
and edx, 4
je 0x45b62a
push str.Shift
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
and ecx, 1
je 0x45b6b2
push 0
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 2]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov dword [ebp - 0x60], eax
push 0x40
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea eax, [ebp - 0x5c]
push eax
call fcn.004096e0
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.0045b380
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00408fa0
jmp 0x45b6c2
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 2]
push edx
mov ecx, dword [ebp + 8]
call fcn.00437c30
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 4]
test ecx, ecx
jne 0x45b6d6
jmp 0x45b6db
jmp 0x45b5a4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret 8
Function at 0x461760
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x4c11db7
mov dword [ebp - 8], 0
jmp 0x46177f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xff
jg 0x461814
push 8
mov ecx, dword [ebp - 8]
push ecx
call fcn.00461700
add esp, 8
shl eax, 0x18
mov edx, dword [ebp - 8]
mov dword [edx*4 + 0x5ad708], eax
mov dword [ebp - 0xc], 0
jmp 0x4617b9
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x4617f0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x5ad708]
shl edx, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x5ad708]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 4]
xor edx, ecx
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x5ad708], edx
jmp 0x4617b0
push 0x20
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x5ad708]
push edx
call fcn.00461700
add esp, 8
mov ecx, dword [ebp - 8]
mov dword [ecx*4 + 0x5ad708], eax
jmp 0x461776
mov esp, ebp
pop ebp
ret
Function at 0x4668a0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54987a
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5abcc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00465930
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 8
call fcn.00465930
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x10
call fcn.00465930
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.00465930
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x20
call fcn.00465930
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x30]
add ecx, 0x28
call fcn.00465930
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x10
call fcn.00465a10
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x30], 0
push 1
mov ecx, dword [ebp - 0x30]
call fcn.00465aa0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00466e10
add esp, 8
test eax, eax
je 0x466982
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00465b50
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x30]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x30], eax
jmp 0x466951
mov edx, dword [ebp - 0x30]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00466130
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00466590
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 8
call fcn.00465a10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00465ad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00465ad0
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
add eax, 0x10
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00466590
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00466130
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.00465a10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00465ad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00465ad0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x473bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
call fcn.0045c490
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0
je 0x473bf3
cmp dword [ebp - 0x10], 0
jne 0x473bf7
xor eax, eax
jmp 0x473c2b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x4d42
je 0x473c16
xor eax, eax
jmp 0x473c2b
mov edx, dword [ebp - 0xc]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004736c0
mov esp, ebp
pop ebp
ret 8
Function at 0x478250
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x47826b
xor eax, eax
jmp 0x47838a
push 0
push 0
push 0
push 0x56ed78
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 8], eax
push 0xa
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
jge 0x4782da
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jge 0x4782e7
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 8]
jle 0x4782f5
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0xc]
jle 0x478303
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
push 0xcc0020
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x47b9c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x47b9db
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jge 0x47ba2a
mov edx, dword [ebp + 8]
push edx
push 1
push 3
lea eax, [ebp - 8]
push eax
call fcn.0052a064
add esp, 0x10
test eax, eax
jne 0x47b9ff
xor eax, eax
jmp 0x47ba2f
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 4]
mov dl, byte [ebp - 8]
mov byte [ecx], dl
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 4]
mov cl, byte [ebp - 7]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 4]
mov al, byte [ebp - 6]
mov byte [edx + 0x200], al
jmp 0x47b9d2
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47bc90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 1
lea ecx, [ebp - 1]
push ecx
call fcn.0052a064
add esp, 0x10
test eax, eax
jne 0x47bcb6
or eax, 0xffffffff
jmp 0x47bcf3
movzx edx, byte [ebp - 1]
neg edx
sbb edx, edx
add edx, 1
mov eax, dword [ebp - 8]
mov dword [eax + 8], edx
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x47bcef
mov edx, dword [ebp + 8]
push edx
push 1
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0052a064
add esp, 0x10
test eax, eax
jne 0x47bcef
or eax, 0xffffffff
jmp 0x47bcf3
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8
Function at 0x47c2d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
push 1
push 1
lea ecx, [ebp - 0xd]
push ecx
call fcn.0052a064
add esp, 0x10
test eax, eax
jne 0x47c30d
xor eax, eax
jmp 0x47c45f
movzx edx, byte [ebp - 0xd]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0047be80
test eax, eax
jge 0x47c32b
xor eax, eax
jmp 0x47c45f
movzx ecx, byte [ebp - 0xd]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0047be80
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x47c45a
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 3
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 4]
mov cl, byte [eax + 0x100]
mov byte [edx + 1], cl
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 4]
mov cl, byte [eax + 0x200]
mov byte [edx + 2], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jne 0x47c44b
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0x1c], 0
je 0x47c442
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 3
ja case.default.0x47c3d0
mov edx, dword [ebp - 0x20]
jmp dword [edx*4 + 0x47c468]
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
jmp case.default.0x47c3d0
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0xc], ecx
jmp case.default.0x47c3d0
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x14]
jl 0x47c440
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 1
je 0x47c421
cmp dword [ebp - 0x24], 2
je 0x47c42a
cmp dword [ebp - 0x24], 3
je 0x47c433
jmp 0x47c43c
mov dword [ebp - 0xc], 4
jmp 0x47c440
mov dword [ebp - 0xc], 2
jmp 0x47c440
mov dword [ebp - 0xc], 1
jmp 0x47c440
jmp 0x47c45a
jmp 0x47c44b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x14]
jl 0x47c455
jmp 0x47c45a
jmp 0x47c32b
mov eax, 1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x47ce40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7594], 0
jle 0x47cea3
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x7588]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7594]
push ecx
call fcn.0052a081
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x7588]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x7594]
push edx
push 1
mov eax, dword [ebp - 4]
add eax, 0x7598
push eax
call fcn.0052a2ef
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x7594], 0
mov esp, ebp
pop ebp
ret
Function at 0x4828a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x14]
call fcn.00408880
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408950
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48290b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x124], edx
lea ecx, [ebp - 0x14]
call fcn.004088b0
mov eax, dword [ebp - 0x124]
jmp 0x48299c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x482971
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004828a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x482968
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x14]
call fcn.004088b0
mov eax, dword [ebp - 0x128]
jmp 0x48299c
mov dword [ebp - 4], 0x100
jmp 0x482912
lea ecx, [ebp - 0x14]
call fcn.00408900
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
call fcn.004088d0
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x14]
call fcn.004088b0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret 4
Function at 0x49ec20
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x16c], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0x160
lea ecx, [ebp - 0x168]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret 8

Function at 0x49f700
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x16c], ecx
push 0x4001
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x574d04
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49f75b
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x1109
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret
Function at 0x4b8b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0x4b8a70
call fcn.0052c945
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 4], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret

Function at 0x4bb0c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x579a2a]
mov byte [ebp - 0x110], al
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.00528780
add esp, 0xc
mov dword [ebp - 0x114], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x114]
movsx eax, byte [edx]
test eax, eax
je 0x4bb1e5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
mov al, byte [ecx]
mov byte [ebp + edx - 0x110], al
mov ecx, dword [ebp - 0x114]
movsx edx, byte [ebp + ecx - 0x110]
cmp edx, 0x5c
je 0x4bb168
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x114]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x110], dl
mov eax, dword [ebp - 0x114]
movsx ecx, byte [ebp + eax - 0x110]
cmp ecx, 0x2f
jne 0x4bb1d1
mov edx, dword [ebp - 0x114]
mov byte [ebp + edx - 0x110], 0
mov eax, dword [ebp - 0x114]
movsx ecx, byte [ebp + eax - 0x111]
cmp ecx, 0x3a
je 0x4bb1b9
lea edx, [ebp - 0x110]
push edx
call fcn.004bae60
add esp, 4
movzx eax, al
test eax, eax
jne 0x4bb1b9
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4bb1b9
xor al, al
jmp 0x4bb23b
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
mov cl, byte [edx]
mov byte [ebp + eax - 0x110], cl
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp 0x4bb0fe
cmp dword [ebp - 0x114], 0
jle 0x4bb239
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x114]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x4bb239
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x114]
movsx eax, byte [edx - 1]
cmp eax, 0x2f
je 0x4bb239
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bae60
add esp, 4
movzx edx, al
test edx, edx
jne 0x4bb239
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
neg eax
jmp 0x4bb23b
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret