joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447134
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44714b
add esp, 0xfffffff0
call fcn.00403ee4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041be28
mov eax, dword [0x48e218]
cmp word [eax + 2], 0
jne 0x447173
mov eax, dword [0x48e218]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00448bcc
mov eax, dword [0x48e2d8]
cmp word [eax + 2], 0
jne 0x44718d
mov eax, dword [0x48e2d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00448dd8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413208]
call fcn.00403b90
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413208]
call fcn.00403b90
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x413208]
call fcn.00403b90
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 [0x41fe84]
call fcn.00427a48
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x447344
mov eax, dword [0x48e118]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427e1c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44949c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48e118]
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.0040db50
test eax, eax
je 0x447294
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004099c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040db84
test eax, eax
je 0x4472a8
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.00404c5c
mov byte [ebx + 0xd4], 0
push ebx
push 0x4488b0
call fcn.0041cfa4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48dfd4]
cmp byte [eax], 0
jne 0x4472f9
mov eax, ebx
call fcn.00447488
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.004496b0
mov eax, ebx
call fcn.0044a214
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x447339
call fcn.00403f3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447708
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x493c20]
cmp dword [eax + 0x30], 0
je 0x447b1d
test bl, bl
jne 0x447a6e
cmp dword [esi + 0x9c], 0
jne 0x447a63
mov eax, esi
call fcn.0044a090
push eax
push 0x4478ec
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x447a34
mov eax, dword [0x493c20]
call fcn.0044a770
test al, al
je 0x447a34
mov eax, dword [0x493c44]
call fcn.004058f4
mov edi, eax
cmp edi, 0
jl 0x447a34
push 0
mov eax, dword [0x493c44]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x447a1e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x447a63
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415738
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x447a43
inc dword [esi + 0x9c]
jmp 0x447b1d
cmp dword [esi + 0x9c], 0
jle 0x447b1d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x447b1d
cmp dword [esi + 0x44], 0
je 0x447ac9
mov eax, dword [0x493c20]
call fcn.0044a770
test al, al
je 0x447ac9
mov eax, dword [0x493c44]
call fcn.004058f4
mov edi, eax
cmp edi, 0
jl 0x447ac9
push 5
mov eax, dword [0x493c44]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x447ab3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x447af8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415738
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x447ad8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x493c44
mov ecx, 1
mov edx, dword [0x4478cc]
call fcn.00405aa8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x448604
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 0x44866e
mov eax, ebx
call fcn.0044a770
test al, al
jne 0x44866e
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.00404adc
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x44865b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x44867b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a40
jmp 0x44867b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a40
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x449894
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x449902
mov eax, esi
call fcn.00463fcc
test al, al
je 0x449902
mov eax, dword [ebx + 0x84]
call fcn.00463c2c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x449902
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4498f6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00463c2c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045b9f4
jmp 0x449902
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004496d0
pop esi
pop ebx
ret

Function at 0x44b82c
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.004049ec
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44b87a
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.00404c5c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45095c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450a8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41e9cc]
call fcn.0041ea9c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x450a65
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041eb3c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404c5c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x450aa4
call fcn.00404d04
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041eba0
lea ecx, [ebp - 4]
mov edx, 0x450ae0
mov eax, dword [ebp - 0xc]
call fcn.0041ede8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e9e0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x450a48
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x450aec
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x487888]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450a4f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x450b3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x450b83
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450b66
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450b77
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x450b83
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x459284
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 [0x493cc8], 0
je 0x4593cd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48e2b4]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4593cd
mov eax, dword [0x493ccc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x493cc8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45939c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x493cc8]
call fcn.00415738
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x459394
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x459394
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x459394
mov eax, dword [ebp - 0x14]
call fcn.00463c2c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459394
push ebp
call fcn.00459240
pop ecx
test al, al
jne 0x459394
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403dbc
test al, al
je 0x459394
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.00403dbc
cmp byte [ebp - 1], 0
je 0x459394
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x459394
mov edx, dword [ebp - 0x14]
mov eax, dword [0x493ccc]
call fcn.004589b0
inc edi
dec ebx
jne 0x4592e9
mov eax, dword [0x493ccc]
cmp dword [eax + 8], 0
jle 0x4593b4
mov eax, dword [0x493ccc]
call fcn.00458a68
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4593cd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004590a4
pop ecx
test al, al
jne 0x4593cd
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 0x460a58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406898
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0045b60c
test ebx, ebx
jne 0x460aab
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00460994
mov ebx, eax
test ebx, ebx
je 0x460b96
cmp esi, ebx
je 0x460ad4
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x460ae9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x460b21
add eax, 0xffffff5f
sub eax, 2
jb 0x460b39
dec eax
sub eax, 2
jb 0x460b4d
dec eax
sub eax, 2
jb 0x460b43
jmp 0x460b57
add eax, 0xfffffdff
sub eax, 2
jb 0x460b39
dec eax
sub eax, 2
jb 0x460b4d
dec eax
sub eax, 2
jb 0x460b43
jmp 0x460b57
mov byte [esp + 0x120], 0
jmp 0x460b5f
mov byte [esp + 0x120], 2
jmp 0x460b5f
mov byte [esp + 0x120], 1
jmp 0x460b5f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043de4c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0045cdc4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x460b98
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x469040
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48e468]
cmp byte [eax + 0xc], 0
je 0x4691ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4691a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x493cd8], 0
jne 0x469094
push 0x4691b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4691bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493cd8], eax
cmp dword [0x487a58], 0
jne 0x46918f
push 0x4691cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x487a58], eax
cmp dword [0x487a58], 0
je 0x46918f
push 0x4691d8
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493cdc], eax
push 0x4691e8
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493ce0], eax
push 0x4691fc
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493ce4], eax
push 0x469214
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493ce8], eax
push 0x46922c
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493cec], eax
push 0x469240
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493cf0], eax
push 0x469258
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493cf4], eax
push 0x469270
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493cf8], eax
push 0x46928c
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493cfc], eax
push 0x469298
mov eax, dword [0x487a58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493d00], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4691ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x46bd74
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 0x46bee5
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 0x46bec0
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.00404bd4
lea eax, [ebp - 0x118]
mov edx, 0x46befc
call fcn.00404cb8
mov eax, dword [ebp - 0x118]
call fcn.00404e7c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x46be32
lea eax, [ebp - 0x111]
call fcn.00409970
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404adc
jmp 0x46be39
mov eax, esi
call fcn.004049ec
cmp bl, 0x61
jae 0x46be5a
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040da1c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404a40
jmp 0x46be74
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d988
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404a40
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, 0x46bf08
call fcn.0040a0a0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bec7
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x471694
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e6c
xor eax, eax
push ebp
push 0x4716ed
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00404e7c
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4716d5
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4716d7
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4716f4
lea eax, [ebp - 4]
call fcn.004049ec
ret

Function at 0x4716fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e6c
xor eax, eax
push ebp
push 0x471760
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e7c
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409bb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471767
lea eax, [ebp - 4]
call fcn.004049ec
ret
Function at 0x471d8c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e6c
xor eax, eax
push ebp
push 0x471e88
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.00471580
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046f7a4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00472a40
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0046f74c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00472ab8
lea eax, [ebx + 0x50]
call fcn.004049ec
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471e8f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a10
ret
Function at 0x471e98
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e6c
xor eax, eax
push ebp
push 0x471fa4
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xa]
call fcn.00471580
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x471f67
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046f7a4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00472a40
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0046f74c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00472ab8
jmp 0x471f79
xor edx, edx
mov eax, ebx
call fcn.00472a40
xor edx, edx
mov eax, ebx
call fcn.00472ab8
lea eax, [ebx + 0x50]
call fcn.004049ec
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471fab
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a10
ret