joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f9d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46fa10]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f9f1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46fa00
or bl, 4
test esi, 0x20000000
je 0x46fa0b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4763f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x476406
add esp, 0xfffffff0
call fcn.00404560
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042a298
mov eax, dword [0x57dba0]
mov dword [eax + 4], ebx
mov dword [eax], 0x476798
mov eax, dword [0x57dbc4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4767a4
mov eax, ebx
call fcn.004767b0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41e7f4]
call fcn.004041b8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41e7f4]
call fcn.004041b8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41e7f4]
call fcn.004041b8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41e7f4]
call fcn.004041b8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41e7f4]
call fcn.004041b8
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, 0x472bc8
push eax
push 0
push 0
mov eax, dword [0x57e068]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42bd3c]
call fcn.0042d574
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42bd3c]
call fcn.0042d574
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42bd3c]
call fcn.0042d574
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00476cb4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476b34
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476b34
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476b34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x476543
call fcn.004045b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x476918
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 0x476ac3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x476aa4
mov dl, 1
mov eax, dword [0x41ee58]
call fcn.004041b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405138
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x476a93
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.00462bf4
test al, al
je 0x476a86
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, 0x476ad4
lea eax, [ebp - 0x254]
call fcn.0040cc58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x476a86
xor eax, eax
push ebp
push 0x476a7f
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 0x476b0c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x476a68
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053a8
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 0x476a68
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476a86
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x476989
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00423b84
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 0x476aca
lea eax, [ebp - 0x260]
call fcn.00405138
ret

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

Disassembly:
push ecx
mov eax, dword [0x581e10]
cmp byte [eax + 0xa5], 0
jne 0x4774c5
cmp dword [0x581e28], 0
jne 0x477486
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x477410
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x581e28], eax
cmp dword [0x581e24], 0
jne 0x4774a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x581e24], eax
cmp dword [0x581e2c], 0
jne 0x4774c5
push esp
push 0
push 0
push 0x4773b4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x581e2c], eax
pop edx
ret
Function at 0x477ba0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x581e10]
cmp dword [eax + 0x30], 0
je 0x477c4a
cmp dword [ebx + 0x94], 0
jne 0x477c44
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x477b30
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x477c44
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 0x477c0a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x477c44
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.00421130
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x477c19
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4787a8
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 0x4787dd
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.00405228
jmp 0x4787ea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040518c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4799b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4799f5
mov eax, esi
call fcn.0045e198
test al, al
je 0x4799f5
mov eax, dword [ebx + 0x84]
call fcn.0045de94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4799f5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045de94
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47aa2c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41dba0]
call fcn.00405c28
xor eax, eax
push ebp
push 0x47ab70
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5729d0], 0
jne 0x47aa7f
mov ecx, dword [0x57d8dc]
mov dl, 1
mov eax, dword [0x40a5f0]
call fcn.0040fdc0
call fcn.00404a8c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004039fc
mov eax, ebx
call fcn.004059dc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47ab80
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004070e8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004059ec
test eax, eax
jle 0x47ab17
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47ab10
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004053c0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004053a8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040b500
test eax, eax
jne 0x47ab10
mov ebx, 0x15
jmp 0x47ab1c
mov ebx, 0x10
jmp 0x47ab1c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5729d0]
call fcn.0047a984
mov eax, dword [ebp - 8]
call fcn.0047a984
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00407100
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ab77
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040515c
lea eax, [ebp - 0x10]
mov edx, dword [0x41dba0]
call fcn.00405cf8
ret

Function at 0x47bc54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x47bcce
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x105]
push edx
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004053a8
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call fcn.00410a48
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.0040518c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bcd5
lea eax, [ebp - 0x10c]
call fcn.00405138
ret
Function at 0x47c440
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47c536
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [0x57e214]
mov eax, dword [eax]
call fcn.00479364
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004055f8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x47c50c
mov eax, dword [ebp - 0xc]
call fcn.0040b264
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47c54c
push ebp
lea eax, [ebp - 0x1c]
call fcn.0047c37c
pop ecx
push dword [ebp - 0x1c]
push 0x47c568
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004054b8
mov eax, dword [ebp - 0x18]
call fcn.004055f8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47c4f8
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.00405330
jmp 0x47c4ff
mov eax, ebx
call fcn.00405138
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00402f20
jmp 0x47c513
mov eax, ebx
call fcn.00405138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c53d
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040515c
lea eax, [ebp - 8]
call fcn.00405138
ret
Function at 0x47c7a4
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x40a5d0]
call fcn.00405c28
xor eax, eax
push ebp
push 0x47c912
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
mov ecx, 0x47c92c
mov edx, esi
call fcn.00405444
mov eax, dword [ebp - 0x164]
call fcn.004055f8
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x160]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
mov dword [ebp - 0x148], ebx
cmp ebx, 0xffffffff
je 0x47c8e3
xor eax, eax
push ebp
push 0x47c8dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.004053a8
test byte [ebp - 0x144], 0x10
jne 0x47c885
push ebp
call fcn.0047c740
pop ecx
test al, al
je 0x47c8a7
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x150]
mov edx, esi
call fcn.00405444
mov edx, dword [ebp - 0x168]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x47c8a7
mov eax, dword [ebp - 0x150]
mov edx, 0x47c938
call fcn.00405544
je 0x47c8a7
mov eax, dword [ebp - 0x150]
mov edx, 0x47c944
call fcn.00405544
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x148]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47c839
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c8e3
mov eax, dword [ebp - 0x148]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c919
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.0040515c
lea eax, [ebp - 0x15c]
mov edx, dword [0x40a5d0]
call fcn.00405cf8
ret
Function at 0x47c9b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x40a5d0]
call fcn.00405c28
xor eax, eax
push ebp
push 0x47cb78
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x168]
mov ecx, 0x47cb90
mov edx, ebx
call fcn.00405444
mov eax, dword [ebp - 0x168]
call fcn.004055f8
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x164]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x47cb3e
xor eax, eax
push ebp
push 0x47cb37
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.004053a8
test byte [ebp - 0x144], 0x10
jne 0x47caa6
push ebp
call fcn.0047c948
pop ecx
test al, al
je 0x47cb02
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x150]
mov edx, ebx
call fcn.00405444
mov edx, dword [ebp - 0x16c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x47cb02
mov eax, dword [ebp - 0x150]
mov edx, 0x47cb9c
call fcn.00405544
je 0x47cb02
mov eax, dword [ebp - 0x150]
mov edx, 0x47cba8
call fcn.00405544
je 0x47cb02
lea eax, [ebp - 0x170]
mov ecx, dword [ebp - 0x150]
mov edx, ebx
call fcn.00405444
mov eax, dword [ebp - 0x170]
lea edx, [ebp - 0x160]
call fcn.00410a48
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0x160]
call fcn.0047c9b0
lea eax, [ebp - 0x144]
push eax
mov eax, dword [ebp - 0x148]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x47ca5a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cb3e
mov eax, dword [ebp - 0x148]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cb7f
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.0040515c
lea eax, [ebp - 0x160]
call fcn.00405138
lea eax, [ebp - 0x15c]
mov edx, dword [0x40a5d0]
call fcn.00405cf8
ret

Function at 0x47cc0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x47cc86
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x105]
push edx
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.004053a8
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call fcn.00410a48
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.0040518c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cc8d
lea eax, [ebp - 0x10c]
call fcn.00405138
ret
Function at 0x47cec0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x47ceea
push 0xa8d
push ebx
call sub.kernel32.dll_TerminateProcess
mov esi, eax
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x47ceec
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x47cef4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47cffc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, pe_nt_image_headers32
call fcn.00402ef0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47cfd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x57e05c]
mov eax, dword [eax]
call fcn.004223cc
xor eax, eax
push ebp
push 0x47cfb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x57e05c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x47cf99
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x47cf91
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405330
mov edx, dword [ebp - 0x10]
mov eax, dword [0x57e05c]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0040c5b0
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x47cf6b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cfba
mov eax, dword [0x57e05c]
mov eax, dword [eax]
call fcn.00422488
ret

Function at 0x47d008
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d0bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x57de6c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.0047cef4
mov edx, dword [ebp - 0xc]
mov eax, dword [0x57e05c]
mov eax, dword [eax]
call fcn.0042313c
mov eax, dword [0x57e05c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x47d095
inc ebx
xor esi, esi
lea ecx, [ebp - 8]
mov eax, dword [0x57e05c]
mov eax, dword [eax]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 8]
call fcn.004055f8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x47d091
mov eax, dword [0x57de6c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47d05e
mov edx, dword [ebp - 4]
mov eax, dword [0x57de6c]
mov eax, dword [eax]
call fcn.00422744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d0c6
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040515c
ret
Function at 0x47d44c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055e8
xor eax, eax
push ebp
push 0x47d4a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0x47d4b0
mov eax, dword [ebp - 4]
call fcn.004055f8
push eax
push 0x47d4b4
mov eax, dword [0x57e214]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d4ad
lea eax, [ebp - 4]
call fcn.00405138
ret

Function at 0x47dd28
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47de1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405138
mov eax, pe_nt_image_headers32
call fcn.00402ef0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47ddf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x47dddd
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x47ddd5
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405330
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov edx, 1
call fcn.0043d884
lea eax, [ebp - 0x14]
mov ecx, 0x47de34
mov edx, dword [ebp - 4]
call fcn.00405444
mov eax, dword [ebp - 0x14]
call fcn.004055f8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp esi, eax
jne 0x47ddc9
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405400
mov eax, dword [ebp - 0xc]
call fcn.0040c5b0
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x47dd82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ddfa
mov eax, dword [ebp - 8]
call fcn.00402f20
ret

Function at 0x47de38
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47dece
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 0x24]
mov edx, ebx
call fcn.00405320
lea eax, [ebp - 0x24]
mov edx, 0x47dee8
call fcn.00405400
mov eax, dword [ebp - 0x24]
call fcn.004055f8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
jne 0x47deb8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x57de7c]
mov eax, dword [eax]
call eax
test eax, eax
je 0x47deb8
push 0
push 0x100000
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00406248
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ded5
lea eax, [ebp - 0x24]
call fcn.00405138
ret

Function at 0x47dfc4
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 0
push 0
push 0
mov eax, ebx
call fcn.004055f8
push eax
push 0x47dfec
mov eax, dword [0x57e214]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret