joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456fdc
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 0x457187
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457168
mov dl, 1
mov eax, dword [0x412814]
call fcn.00403b50
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049ac
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457157
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.00448774
test al, al
je 0x45714a
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, 0x457198
lea eax, [ebp - 0x254]
call fcn.004096b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45714a
xor eax, eax
push ebp
push 0x457143
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 0x4571d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45712c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c1c
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 0x45712c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45714a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45704d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004164ec
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 0x45718e
lea eax, [ebp - 0x260]
call fcn.004049ac
ret

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

Disassembly:
push ecx
mov eax, dword [0x478c94]
cmp byte [eax + 0xad], 0
jne 0x457b71
cmp dword [0x478cb0], 0
jne 0x457b32
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457abc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x478cb0], eax
cmp dword [0x478cac], 0
jne 0x457b4d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x478cac], eax
cmp dword [0x478cb4], 0
jne 0x457b71
push esp
push 0
push 0
push 0x457a60
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x478cb4], eax
pop edx
ret
Function at 0x457d74
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457d8b
add esp, 0xfffffff0
call fcn.00403ea4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6d4
mov eax, dword [0x4732dc]
cmp word [eax + 2], 0
jne 0x457db3
mov eax, dword [0x4732dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459abc
mov eax, dword [0x47338c]
cmp word [eax + 2], 0
jne 0x457dcd
mov eax, dword [0x47338c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459cc8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4123f0]
call fcn.00403b50
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4123f0]
call fcn.00403b50
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4123f0]
call fcn.00403b50
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41fec4]
call fcn.00427890
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x457f84
mov eax, dword [0x4731f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427c64
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a39c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4731f8]
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.0040cf90
test eax, eax
je 0x457ed4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409068
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cfc4
test eax, eax
je 0x457ee8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c1c
mov byte [ebx + 0xd4], 0
push ebx
push 0x459548
call fcn.0041b850
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4730e0]
cmp byte [eax], 0
jne 0x457f39
mov eax, ebx
call fcn.004580c8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045a5b0
mov eax, ebx
call fcn.0045b114
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457f79
call fcn.00403efc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458348
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4583e7
cmp dword [ebx + 0x94], 0
jne 0x4583e1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4582d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4583e1
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 0x4583a7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4583e1
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.00414794
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4583b6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458600
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x478c94]
cmp dword [eax + 0x30], 0
je 0x45875d
test bl, bl
jne 0x4586ae
cmp dword [esi + 0x9c], 0
jne 0x4586a3
mov eax, esi
call fcn.0045af90
push eax
push 0x45852c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x458674
mov eax, dword [0x478c94]
call fcn.0045b670
test al, al
je 0x458674
mov eax, dword [0x478cb8]
call fcn.00405888
mov edi, eax
cmp edi, 0
jl 0x458674
push 0
mov eax, dword [0x478cb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45865e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4586a3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414794
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x458683
inc dword [esi + 0x9c]
jmp 0x45875d
cmp dword [esi + 0x9c], 0
jle 0x45875d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45875d
cmp dword [esi + 0x44], 0
je 0x458709
mov eax, dword [0x478c94]
call fcn.0045b670
test al, al
je 0x458709
mov eax, dword [0x478cb8]
call fcn.00405888
mov edi, eax
cmp edi, 0
jl 0x458709
push 5
mov eax, dword [0x478cb8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4586f3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x458738
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414794
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x458718
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x478cb8
mov ecx, 1
mov edx, dword [0x45850c]
call fcn.00405a3c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x459244
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4592ae
mov eax, ebx
call fcn.0045b670
test al, al
jne 0x4592ae
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.00404a9c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45929b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4592bb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a00
jmp 0x4592bb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a00
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45a794
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a802
mov eax, esi
call fcn.00443458
test al, al
je 0x45a802
mov eax, dword [ebx + 0x84]
call fcn.004430b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a802
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45a7f6
push 0
mov eax, dword [ebx + 0x84]
call fcn.004430b8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043af74
jmp 0x45a802
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045a5d0
pop esi
pop ebx
ret

Function at 0x45e6a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45e6d2
mov eax, ebx
call fcn.0045f158
cmp dword [ebx + 0x40], 0
je 0x45e6cb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45e743
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45e735
cmp dword [ebx + 8], 0
je 0x45e6f4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45e706
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45e735
cmp dword [ebx + 8], 0
je 0x45e6e7
cmp eax, 3
je 0x45e719
dec eax
jne 0x45e6e7
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 0x45e6e7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45e6e7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45e761
cmp dword [ebx + 0x14], 0xcc
je 0x45e761
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045e76c
pop ebx
ret
Function at 0x40609c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4060de
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4060c4
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
jmp 0x4060dc
push 0x196e
push 0
push 0
push 0
push 0
push 0xef
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4060ff
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x1162
push 0
call fcn.004079ca
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4064cd
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x406529
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x406502
push 0
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
jmp 0x406524
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x4066b1
mov dword [ebp - 8], 0xae97
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 8], 0
jmp 0x406547
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2a
jge 0x40669d
mov dword [ebp - 0x10], 5
push 3
lea ecx, [ebp - 0x68]
call fcn.00416ef7
mov dword [ebp - 0xc], 0
jmp 0x406572
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x40658b
push dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
call fcn.00416f95
mov dword [eax], 1
jmp 0x40656b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4065a1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 8], 0xe617
jge 0x4065b9
mov dword [ebp - 0x14], 1
jmp 0x4065bd
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
jl 0x4065ce
mov dword [ebp - 0x18], 1
jmp 0x4065d2
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jg 0x4065e3
mov dword [ebp - 0x1c], 1
jmp 0x4065e7
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1c], eax
jne 0x4065f8
mov dword [ebp - 0x20], 1
jmp 0x4065fc
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jge 0x40660d
mov dword [ebp - 0x50], 1
jmp 0x406611
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
je 0x406622
mov dword [ebp - 0x24], 1
jmp 0x406626
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x406637
mov dword [ebp - 0x28], 1
jmp 0x40663b
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x28], eax
jg 0x40664c
mov dword [ebp - 0x54], 1
jmp 0x406650
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
jge 0x406667
mov dword [ebp - 0x2c], 1
jmp 0x40666b
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 1
jg 0x40667a
mov dword [ebp - 0x30], 1
jmp 0x40667e
and dword [ebp - 0x30], 0
mov esi, dword [ebp - 0x30]
sub esi, dword [ebp - 8]
push 1
lea ecx, [ebp - 0x68]
call fcn.00416f95
mov dword [eax], esi
lea ecx, [ebp - 0x68]
call fcn.00416f90
jmp 0x406540
push 0x7376
push 0x2753
push 0
call fcn.004071da
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4066e1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x406703
push 1
push 0x5b05
push 0x46ba
call fcn.0040672e
add esp, 0xc
jmp 0x40672a
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x406720
push 0x232c
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x40672a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esp, ebp
pop ebp
ret

Function at 0x40674b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x406773
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
push 1
push 0x2c03
push dword [ebp - 8]
call fcn.004067e6
add esp, 0xc
jmp 0x4067e2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x406797
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x4067e2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x4067c5
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x4067e2
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.00416f95
mov dword [eax], 1
jmp 0x4067ba
mov esp, ebp
pop ebp
ret
Function at 0x4089b7
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x408a56
lea eax, [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x408a06
push 0x1558
push 0x3bb
push 0x59f
push 0x2709
push 0x2077
call dword [sym.imp.GDI32.dll_Rectangle]
jmp 0x408a51
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x408a34
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x408a51
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.00416f95
mov dword [eax], 1
jmp 0x408a29
jmp 0x408af1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0x7e2799ac
mov dword [ebp - 0x14], 0x8872fa4
mov dword [ebp - 0x10], 0
jmp 0x408a7a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa
jl 0x408ad3
mov dword [ebp - 0x30], 0x4d2edc75
mov dword [ebp - 0xc], 0xffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], 0
jmp 0x408aa4
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1f
jge 0x408ad1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x408acf
push 0x24f3
push 0x24c5
push 0
push 0x1817
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x408a9d
jmp 0x408a73
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
push 0
push 0x5f5d
push 0x7f49
push dword [ebp - 0x34]
call fcn.004079aa
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x408ece
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x408f8c
lea eax, [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x408f3f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x408f24
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x11
jle 0x408f3d
mov dword [ebp - 0x1c], 0xffff
cmp dword [ebp - 0x1c], 0
je 0x408f3b
jmp 0x408f3d
jmp 0x408f19
jmp 0x408f8a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x408f6d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x408f8a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.00416f95
mov dword [eax], 0xbf90a23
jmp 0x408f62
jmp 0x40900a
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x408fc2
push 0x196e
push 0
push 0
push 0
push 0
push 0xef
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40900a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x408ff0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x40900a
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.00416f95
and dword [eax], 0
jmp 0x408fe5
mov esp, ebp
pop ebp
ret
Function at 0x40a2b5
Capabilities:
Get disk information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40a2ef
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 4]
push dword [ebp - 8]
push 0x469d
push dword [ebp - 0xc]
call fcn.0040a32f
add esp, 0x14
jmp 0x40a32b
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40a323
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40a321
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x40a32b
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esp, ebp
pop ebp
ret

Function at 0x40a5f5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x40a68a
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x40a663
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x40a688
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40a688
push 0x24f3
push 0x24c5
push 0
push 0x1817
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x40a6b0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
push 0x859
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x34]
push 0x706d
call fcn.00407c4b
add esp, 0x14
mov esp, ebp
pop ebp
ret