joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4568b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004812bb
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00456250
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004811e9
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047daaa
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047daaa
push 1
push 0
push 0
mov ecx, esi
call fcn.0047da52
push 1
push 0
push 1
mov ecx, esi
call fcn.0047da52
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048132d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x456a30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004812bb
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00456250
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004811e9
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x456af4
cmp dword [esp + 0x40], 1
jne 0x456af2
cmp ecx, eax
jge 0x456af4
mov eax, ecx
cmp eax, 0xc8
jge 0x456b00
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004568b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048132d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x457270
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488603
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047beca
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00481563
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00482a7f
test eax, eax
je 0x45738c
mov ecx, dword [esp + 0x3c]
call fcn.00481590
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x457350
push edi
mov ecx, esi
call fcn.0047ebf6
mov ecx, esi
call fcn.004574f0
cmp dword [esp + 0x38], 1
jne 0x457385
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047ed31
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x459da0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x459dd3
push esi
call fcn.0045cea0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x459dcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x459e59
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x459e42
mov eax, dword [esi + 8]
test eax, eax
je 0x459df7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x459e3e
cmp eax, 2
je 0x459e42
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x459dea
cmp eax, 3
je 0x459e1d
cmp eax, 1
jne 0x459dea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x459dea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x459dea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00459e80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x459e68
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00459e80
add esp, 4
pop esi
ret

Function at 0x47ccc0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47ccf8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047ad4d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047ad25
jmp 0x47cd04
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47e3ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47e3f0
call fcn.00483e65
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47e3f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47e3e7
xor eax, eax
jmp 0x47e3f8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047e3fe
pop edi
pop esi
pop ebx
ret 4

Function at 0x484395
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4843c3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4843e1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004842fb
jmp 0x4843e1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4843e1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004842fb
test edi, edi
mov eax, edi
jne 0x4843cb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40dcd0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40db48
mov eax, dword [0x59ec48]
cmp byte [eax], 0
je 0x40dd4c
mov eax, dword [0x59e9c0]
call fcn.00403930
call fcn.004030b8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040abdc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40dd94
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40dd82
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x59e950]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5a17f8]
call fcn.00406854
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40e64c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e722
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004054a8
lea eax, [ebp - 4]
call fcn.004058f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004058a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e70c
mov eax, ebx
call fcn.00402f5c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e705
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004058a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e6ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e734
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e6ef
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e70c
mov eax, dword [ebp - 0x10]
call fcn.00402f78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e729
lea eax, [ebp - 4]
call fcn.00405410
ret

Function at 0x4209e0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042071c
dec esi
jne 0x420a02
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x421b88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5a39f0
cmp dword [edi], 0
jne 0x421c04
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5a39ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49fafc
mov ecx, 2
call fcn.00403298
mov edx, 0x421b60
lea eax, [esi + 5]
call fcn.00421b80
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421b80
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x421bd9
mov dword [0x5a39ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4247f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004058a0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x424850
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x59ede4]
mov dl, 1
mov eax, dword [0x4241b0]
call fcn.0040de9c
call fcn.00404da4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004242b8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425a80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x425a86
ret
Function at 0x43b318
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x43b4ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0045b344
mov eax, dword [esi]
cmp byte [eax + 0x258], 0
je 0x43b4d1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x268]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2c0]
jb 0x43b37e
mov eax, dword [esi]
add eax, 0x264
call fcn.00405410
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
cmp al, 8
je 0x43b458
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [0x59edb0]
movzx eax, al
bt dword [edx], eax
jae 0x43b415
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.0045c4a8
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x43b49c
mov eax, dword [esi]
push dword [eax + 0x264]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.004055f8
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.004055f8
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x264
mov edx, 3
call fcn.004057a4
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x43b49c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.004055f8
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x264
call fcn.004056dc
jmp 0x43b49c
mov eax, dword [esi]
mov ebx, dword [eax + 0x264]
test ebx, ebx
je 0x43b445
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x264
mov ecx, 1
mov edx, ebx
call fcn.00405948
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.004056d0
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.0040e7b4
cmp al, 2
je 0x43b434
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43b489
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x264
mov ecx, 1
xchg edx, eax
call fcn.00405948
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43b4ad
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43b4ba
push ebp
call fcn.0043b230
pop ecx
jmp 0x43b4d1
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.0040472c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b4f3
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405434
ret
Function at 0x451bd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x5a3c94], 0
je 0x451d21
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x59ebb8]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x451d21
mov eax, dword [0x5a3c98]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5a3c94]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x451cf0
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5a3c94]
call fcn.00419dec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x451ce8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x451ce8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x451ce8
mov eax, dword [ebp - 0x14]
call fcn.0045c4a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451ce8
push ebp
call fcn.00451b94
pop ecx
test al, al
jne 0x451ce8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0040472c
test al, al
je 0x451ce8
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0040472c
cmp byte [ebp - 1], 0
je 0x451ce8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x451ce8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5a3c98]
call fcn.00451304
inc edi
dec ebx
jne 0x451c3d
mov eax, dword [0x5a3c98]
cmp dword [eax + 8], 0
jle 0x451d08
mov eax, dword [0x5a3c98]
call fcn.004513bc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x451d21
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004519f8
pop ecx
test al, al
jne 0x451d21
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461880
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x59edd4]
cmp byte [eax + 0xc], 0
je 0x4619ed
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4619e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a3ca4], 0
jne 0x4618d4
push 0x4619f4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4619fc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3ca4], eax
cmp dword [0x4a08c4], 0
jne 0x4619cf
push 0x461a0c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a08c4], eax
cmp dword [0x4a08c4], 0
je 0x4619cf
push 0x461a18
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3ca8], eax
push 0x461a28
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cac], eax
push 0x461a3c
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cb0], eax
push 0x461a54
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cb4], eax
push 0x461a6c
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cb8], eax
push 0x461a80
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cbc], eax
push 0x461a98
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cc0], eax
push 0x461ab0
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cc4], eax
push 0x461acc
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3cc8], eax
push 0x461ad8
mov eax, dword [0x4a08c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a3ccc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4619ed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x470640
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x470657
add esp, 0xfffffff0
call fcn.00404854
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420ab4
mov eax, dword [0x59eb00]
cmp word [eax + 2], 0
jne 0x47067f
mov eax, dword [0x59eb00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00472240
mov eax, dword [0x59ebe0]
cmp word [eax + 2], 0
jne 0x470699
mov eax, dword [0x59ebe0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047244c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417860]
call fcn.00404500
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417860]
call fcn.00404500
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417860]
call fcn.00404500
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 [0x4258bc]
call fcn.0042db28
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x470850
mov eax, dword [0x59e9dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042defc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x472b20
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x59e9dc]
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.0040edd8
test eax, eax
je 0x4707a0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040ac30
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ee0c
test eax, eax
je 0x4707b4
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.00405680
mov byte [ebx + 0xd4], 0
push ebx
push 0x471d68
call fcn.00421c44
mov dword [ebx + 0xc8], eax
mov eax, dword [0x59e854]
cmp byte [eax], 0
jne 0x470805
mov eax, ebx
call fcn.00470994
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.00472cf8
mov eax, ebx
call fcn.0047385c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x470845
call fcn.004048ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47f538
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47f6a9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47f684
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004055f8
lea eax, [ebp - 0x118]
mov edx, 0x47f6c0
call fcn.004056dc
mov eax, dword [ebp - 0x118]
call fcn.004058a0
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x47f5f6
lea eax, [ebp - 0x111]
call fcn.0040abdc
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405500
jmp 0x47f5fd
mov eax, esi
call fcn.00405410
cmp bl, 0x61
jae 0x47f61e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040eca4
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00405464
jmp 0x47f638
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040ec10
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00405464
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x47f6cc
call fcn.0040b30c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00405464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f68b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret