joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45262c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x58f244]
cmp byte [eax + 0xc], 0
je 0x452799
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452792
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x590c4c], 0
jne 0x452680
push 0x4527a0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4527a8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c4c], eax
cmp dword [0x58ac98], 0
jne 0x45277b
push 0x4527b8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x58ac98], eax
cmp dword [0x58ac98], 0
je 0x45277b
push 0x4527c4
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c50], eax
push 0x4527d4
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c54], eax
push 0x4527e8
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c58], eax
push 0x452800
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c5c], eax
push 0x452818
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c60], eax
push 0x45282c
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c64], eax
push 0x452844
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c68], eax
push 0x45285c
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c6c], eax
push 0x452878
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c70], eax
push 0x452884
mov eax, dword [0x58ac98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x590c74], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452799
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x456b80
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404b20
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x456bcf
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45ea38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45ea88]
test si, 4
je 0x45ea4c
or bl, 1
test si, 8
je 0x45ea56
or bl, 4
test si, 1
je 0x45ea60
or bl, 8
test si, 2
je 0x45ea6a
or bl, 0x10
test si, 0x10
je 0x45ea74
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45ea83
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45ea8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45eac4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45eaa5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45eab4
or bl, 4
test esi, 0x20000000
je 0x45eabf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4650e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4650f2
add esp, 0xfffffff0
call fcn.00403fb0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004267d4
mov eax, dword [0x58ec00]
mov dword [eax + 4], ebx
mov dword [eax], 0x465484
mov eax, dword [0x58ec10]
mov dword [eax + 4], ebx
mov dword [eax], 0x465490
mov eax, ebx
call fcn.0046549c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b544]
call fcn.00403c1c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b544]
call fcn.00403c1c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b544]
call fcn.00403c1c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b544]
call fcn.00403c1c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b544]
call fcn.00403c1c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x461964
push eax
push 0
push 0
mov eax, dword [0x58eea8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x428274]
call fcn.00429988
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x428274]
call fcn.00429988
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x428274]
call fcn.00429988
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046594c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4657e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4657e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4657e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46522f
call fcn.00404008
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4655c4
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 0x46576f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x465750
mov dl, 1
mov eax, dword [0x41bba8]
call fcn.00403c1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b20
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46573f
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.0045298c
test al, al
je 0x465732
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, 0x465780
lea eax, [ebp - 0x254]
call fcn.0040ac68
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x465732
xor eax, eax
push ebp
push 0x46572b
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 0x4657b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x465714
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
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 0x465714
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465732
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x465635
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420664
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 0x465776
lea eax, [ebp - 0x260]
call fcn.00404b20
ret

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

Disassembly:
push ecx
mov eax, dword [0x590c90]
cmp byte [eax + 0xa5], 0
jne 0x46615d
cmp dword [0x590ca8], 0
jne 0x46611e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4660a8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x590ca8], eax
cmp dword [0x590ca4], 0
jne 0x466139
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x590ca4], eax
cmp dword [0x590cac], 0
jne 0x46615d
push esp
push 0
push 0
push 0x46604c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x590cac], eax
pop edx
ret
Function at 0x466254
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46626b
add esp, 0xfffffff0
call fcn.00403fb0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004267d4
mov eax, dword [0x58ee84]
cmp word [eax + 2], 0
jne 0x466293
mov eax, dword [0x58ee84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467930
mov eax, dword [0x58efd8]
cmp word [eax + 2], 0
jne 0x4662ad
mov eax, dword [0x58efd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467b28
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b544]
call fcn.00403c1c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b544]
call fcn.00403c1c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x428cf4]
call fcn.00430a38
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x466434
mov eax, dword [0x58ecd8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00430e08
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4680a8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x58ecd8]
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.0040ef8c
test eax, eax
je 0x4663a2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a58c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040efb4
test eax, eax
je 0x4663b6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
mov eax, dword [0x58ea38]
cmp byte [eax], 0
jne 0x4663ea
mov eax, ebx
call fcn.0046655c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00468284
mov eax, ebx
call fcn.00468c34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46642a
call fcn.00404008
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4667d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x590c90]
cmp dword [eax + 0x30], 0
je 0x46687a
cmp dword [ebx + 0x94], 0
jne 0x466874
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466760
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466874
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 0x46683a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466874
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.0041defc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466849
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x467358
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46738d
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.00404c10
jmp 0x46739a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b74
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x468460
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4684a1
mov eax, esi
call fcn.0044e084
test al, al
je 0x4684a1
mov eax, dword [ebx + 0x84]
call fcn.0044dd80
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4684a1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044dd80
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x469474
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403324
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x58f244]
cmp byte [edx + 0xc], 0
je 0x4694d8
mov edx, dword [0x58f238]
cmp dword [edx], 2
jne 0x4694d8
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x4694dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x469594
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00469474
test al, al
je 0x469576
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404c10
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x469576
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404fec
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404fec
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404d10
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46952f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46959b
lea eax, [ebp - 0x2c]
call fcn.00404b20
lea eax, [ebp - 0xc]
call fcn.00404b20
ret

Function at 0x469728
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00469118
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404fec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x469786
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x58eeb4]
mov dl, 1
mov eax, dword [0x469010]
call fcn.0040e174
call fcn.004044dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x469790
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.00404fec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4697e8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x58f250]
mov dl, 1
mov eax, dword [0x469010]
call fcn.0040e174
call fcn.004044dc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00469148
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 0x476a18
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 0x476c78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x476a7b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00476568
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e968
cmp al, 1
jne 0x476a7b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00476830
test al, al
je 0x476c07
cmp dword [ebp - 8], 0
jge 0x476a99
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.00476568
mov eax, dword [ebp - 0x210]
call fcn.00404df4
cmp ebx, eax
jge 0x476ae3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00476568
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x58f220]
and eax, 0xff
bt dword [edx], eax
jae 0x476ae3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x476af7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004769f4
cmp ebx, dword [ebp - 8]
je 0x476bf9
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 0x476b23
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e48
and eax, 0x7f
movzx eax, word [eax*2 + 0x58b018]
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 0x476be6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e48
and eax, 0x7f
movzx eax, word [eax*2 + 0x58b018]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044dd80
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403e48
and eax, 0x7f
movzx eax, word [eax*2 + 0x58b018]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044dd80
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476bed
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 0x476c5a
cmp dword [ebp - 8], 0
jge 0x476c12
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00476568
mov eax, dword [ebp - 0x218]
call fcn.00404df4
cmp eax, dword [ebp - 8]
jg 0x476c4c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00476568
mov eax, dword [ebp - 0x21c]
call fcn.00404df4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004769f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476c7f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404b44
ret
Function at 0x47bf44
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 0x47c0b5
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 0x47c090
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.00404d00
lea eax, [ebp - 0x118]
mov edx, 0x47c0cc
call fcn.00404dfc
mov eax, dword [ebp - 0x118]
call fcn.00404fec
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x47c002
lea eax, [ebp - 0x111]
call fcn.0040a550
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404c10
jmp 0x47c009
mov eax, esi
call fcn.00404b20
cmp bl, 0x61
jae 0x47c02a
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040ee60
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404b74
jmp 0x47c044
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040edd4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404b74
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, 0x47c0d8
call fcn.0040ace8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c097
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x47fc54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
xor edx, edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47fe52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x40], 0
je 0x47fc95
mov eax, dword [ebp - 4]
cmp byte [eax + 0x41], 0
jne 0x47fc95
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x47fcc4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x41], 1
jne 0x47fcb2
lea eax, [ebp - 0x28]
push eax
push 0x12
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00479294
jmp 0x47fcc4
lea eax, [ebp - 0x28]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00479294
xor eax, eax
push ebp
push 0x47fe2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, 0x104
call fcn.00405178
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.00404fec
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x47fd09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call fcn.00404fec
mov dword [ebp - 0x20], eax
jmp 0x47fd0e
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x41], 1
jne 0x47fd20
mov dword [ebp - 0x1c], 0x1000
jmp 0x47fd27
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], 0x47f760
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x58ef8c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0047fe60
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x47fe10
xor eax, eax
push ebp
push 0x47fe09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x41], 0
jne 0x47fdc7
lea eax, [ebp - 0x131]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
call fcn.0040f7a4
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x131]
call fcn.0040a76c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.0047ffbc
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00404b74
jmp 0x47fdd8
mov eax, dword [ebp - 4]
add eax, 0x50
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.00404b74
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.00404b74
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x54], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fe10
mov eax, dword [ebp - 0xc]
push eax
call sub.ole32.dll_CoTaskMemFree_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fe34
cmp dword [ebp - 0x28], 0
je 0x47fe2c
mov eax, dword [ebp - 0x28]
push eax
call sub.ole32.dll_CoTaskMemFree_1
ret