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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x443804
mov eax, esi
call fcn.00459158
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x443804
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x443804
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x443943
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x443844
cmp eax, 0x108
ja 0x443844
mov eax, esi
call fcn.00459158
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44393a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x443943
jmp 0x44393a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x443923
cmp eax, 0x20a
ja 0x443923
test byte [esi + 0x50], 0x80
jne 0x443876
sub eax, 0x203
je 0x443873
sub eax, 3
je 0x443873
sub eax, 3
jne 0x443876
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44388a
dec eax
je 0x44389f
dec eax
je 0x4438bc
dec eax
je 0x44389f
jmp 0x4438c3
mov ecx, ebx
mov eax, dword [0x478380]
mov eax, dword [eax]
mov edx, esi
call fcn.00462a4c
jmp 0x44393a
cmp byte [esi + 0x5d], 1
jne 0x4438b5
mov eax, esi
mov si, 0xffed
call fcn.00403b68
jmp 0x443943
or word [esi + 0x54], 1
jmp 0x44393a
and word [esi + 0x54], 0xfffe
jmp 0x44393a
mov eax, dword [0x479b48]
cmp byte [eax + 0x20], 0
je 0x44393a
mov eax, dword [0x479b48]
cmp dword [eax + 0x1c], 0
je 0x44393a
mov eax, dword [ebx]
mov edx, dword [0x479b48]
cmp eax, dword [edx + 0x1c]
jne 0x44393a
lea eax, [ebp - 0x114]
push eax
call fcn.0040709c
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045909c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403b68
jmp 0x443943
cmp eax, 0xb00b
jne 0x44393a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004420d0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446eb0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x446ecc
cmp dword [esi + 4], 0
je 0x446ef9
test byte [ebx + 0x55], 1
jne 0x446eeb
mov eax, ebx
call fcn.00445a50
test eax, eax
jne 0x446eeb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x447009
mov edx, esi
mov eax, ebx
call fcn.004469d4
jmp 0x447009
push 0
call fcn.0040704c
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call fcn.00406c94
mov dword [ebp - 8], eax
push edi
push 0
call fcn.0040729c
push 0
call fcn.00406c9c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00406e24
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x447002
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00448e00
push eax
call fcn.00406ec4
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004436ec
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00446eb0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call fcn.00406c6c
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00448e00
push eax
call fcn.00406fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447009
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00406e24
mov eax, dword [ebp - 4]
push eax
call fcn.00406ce4
mov eax, dword [ebp - 8]
push eax
call fcn.00406cf4
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d7bc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x478528]
cmp byte [eax + 0xc], 0
je 0x44d929
push 0x8000
call sub.eClipRect_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d922
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x479b9c], 0
jne 0x44d810
push 0x44d930
call sub.eClipRect_GetModuleHandleA
mov ebx, eax
push 0x44d938
push ebx
call sub.eClipRect_GetProcAddress
mov dword [0x479b9c], eax
cmp dword [0x477cf4], 0
jne 0x44d90b
push 0x44d948
call sub.eClipRect_LoadLibraryA
mov dword [0x477cf4], eax
cmp dword [0x477cf4], 0
je 0x44d90b
push 0x44d954
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479ba0], eax
push 0x44d964
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479ba4], eax
push 0x44d978
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479ba8], eax
push 0x44d990
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479bac], eax
push 0x44d9a8
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479bb0], eax
push 0x44d9bc
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479bb4], eax
push 0x44d9d4
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479bb8], eax
push 0x44d9ec
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479bbc], eax
push 0x44da08
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479bc0], eax
push 0x44da14
mov eax, dword [0x477cf4]
push eax
call sub.eClipRect_GetProcAddress
mov dword [0x479bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d929
mov eax, dword [ebp - 4]
push eax
call sub.eClipRect_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4517d0
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.004046bc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call fcn.0040721c
shl eax, 0x10
test eax, eax
je 0x45181f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call fcn.0040707c
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040492c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45900c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45905c]
test si, 4
je 0x459020
or bl, 1
test si, 8
je 0x45902a
or bl, 4
test si, 1
je 0x459034
or bl, 8
test si, 2
je 0x45903e
or bl, 0x10
test si, 0x10
je 0x459048
or bl, 0x20
push 0x12
call fcn.00407084
test ax, ax
jge 0x459057
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x459060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459098]
push 0x10
call fcn.00407084
test ax, ax
jge 0x459079
or bl, 1
push 0x11
call fcn.00407084
test ax, ax
jge 0x459088
or bl, 4
test esi, 0x20000000
je 0x459093
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45f740
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f752
add esp, 0xfffffff0
call fcn.00403c90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041df3c
mov eax, dword [0x478180]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fae4
mov eax, dword [0x47818c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45faf0
mov eax, ebx
call fcn.0045fafc
push 0
call fcn.0040708c
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416200]
call fcn.0040393c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416200]
call fcn.0040393c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416200]
call fcn.0040393c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416200]
call fcn.0040393c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416200]
call fcn.0040393c
mov dword [ebx + 0x7c], eax
push 0
call fcn.0040704c
mov esi, eax
push 0x5a
push esi
call fcn.00406d44
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.0040729c
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45bf18
push eax
push 0
push 0
mov eax, dword [0x4782f8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fa08]
call fcn.0042121c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fa08]
call fcn.0042121c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fa08]
call fcn.0042121c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ffac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fe40
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fe40
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45fe40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f88f
call fcn.00403ce8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45fc24
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 0x45fdcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45fdb0
mov dl, 1
mov eax, dword [0x41661c]
call fcn.0040393c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.00407094
dec eax
test eax, eax
jl 0x45fd9f
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.0044db1c
test al, al
je 0x45fd92
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, 0x45fde0
lea eax, [ebp - 0x254]
call fcn.00409c9c
push eax
push 0x80000002
call sub.DC_RegOpenKeyExA
test eax, eax
jne 0x45fd92
xor eax, eax
push ebp
push 0x45fd8b
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 0x45fe18
mov eax, dword [ebp - 0xc]
push eax
call sub.DC_RegQueryValueExA
test eax, eax
jne 0x45fd74
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040492c
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 0x45fd74
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040492c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fd92
mov eax, dword [ebp - 0xc]
push eax
call sub.DC_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45fc95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a12c
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 0x45fdd6
lea eax, [ebp - 0x260]
call fcn.004046bc
ret

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

Disassembly:
push ecx
mov eax, dword [0x479be8]
cmp byte [eax + 0xa5], 0
jne 0x4607bd
cmp dword [0x479c00], 0
jne 0x46077e
call sub.eClipRect_GetCurrentThreadId
push eax
push 0
mov eax, 0x460708
push eax
push 3
call fcn.0040736c
mov dword [0x479c00], eax
cmp dword [0x479bfc], 0
jne 0x460799
push 0
push 0
push 0
push 0
call sub.eClipRect_CreateEventA
mov dword [0x479bfc], eax
cmp dword [0x479c04], 0
jne 0x4607bd
push esp
push 0
push 0
push 0x4606ac
push 0x3e8
push 0
call sub.eClipRect_CreateThread
mov dword [0x479c04], eax
pop edx
ret
Function at 0x4608b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4608cb
add esp, 0xfffffff0
call fcn.00403c90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041df3c
mov eax, dword [0x4782e4]
cmp word [eax + 2], 0
jne 0x4608f3
mov eax, dword [0x4782e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462034
mov eax, dword [0x4783a0]
cmp word [eax + 2], 0
jne 0x46090d
mov eax, dword [0x4783a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046222c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416200]
call fcn.0040393c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416200]
call fcn.0040393c
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], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420588]
call fcn.004283c8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x460a94
mov eax, dword [0x4781ec]
mov eax, dword [eax]
push eax
call fcn.00407204
mov edx, eax
mov eax, esi
call fcn.00428798
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4627dc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4781ec]
mov eax, dword [eax]
push eax
call sub.eClipRect_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call fcn.0040723c
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d624
test eax, eax
je 0x460a02
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409660
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d64c
test eax, eax
je 0x460a16
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call fcn.00406ebc
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040492c
mov eax, dword [0x4780a0]
cmp byte [eax], 0
jne 0x460a4a
mov eax, ebx
call fcn.00460bbc
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.004629b8
mov eax, ebx
call fcn.0046337c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460a8a
call fcn.00403ce8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460e3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x479be8]
cmp dword [eax + 0x30], 0
je 0x460ee6
cmp dword [ebx + 0x94], 0
jne 0x460ee0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460dcc
call fcn.00406fdc
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460ee0
push 3
mov eax, dword [esp + 4]
push eax
call fcn.00407144
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.00407154
test al, 8
je 0x460ea6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460ee0
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.0041859c
push eax
call fcn.0040735c
dec esi
cmp esi, 0xffffffff
jne 0x460eb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461a48
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 0x461a7d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call fcn.0040716c
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047ac
jmp 0x461a8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404710
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462b94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462bd5
mov eax, esi
call fcn.00449104
test al, al
je 0x462bd5
mov eax, dword [ebx + 0x84]
call fcn.00448e00
push eax
call fcn.004071dc
test eax, eax
je 0x462bd5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448e00
push eax
call fcn.0040738c
pop esi
pop ebx
ret
Function at 0x4667dc
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 0x46694d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.eClipRect_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466928
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.004048a4
lea eax, [ebp - 0x118]
mov edx, 0x466964
call fcn.00404984
mov eax, dword [ebp - 0x118]
call fcn.00404b7c
push eax
call sub.eClipRect_GetVolumeInformationA
test eax, eax
je 0x46689a
lea eax, [ebp - 0x111]
call fcn.00409624
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004047ac
jmp 0x4668a1
mov eax, esi
call fcn.004046bc
cmp bl, 0x61
jae 0x4668c2
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d4f8
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404710
jmp 0x4668dc
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d46c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404710
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, 0x466970
call fcn.00409d1c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46692f
mov eax, dword [ebp - 4]
push eax
call sub.eClipRect_SetErrorMode
ret
Function at 0x46a118
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 [0x415788]
call fcn.00405054
xor eax, eax
push ebp
push 0x46a25c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x477f4c], 0
jne 0x46a16b
mov ecx, dword [0x4780b0]
mov dl, 1
mov eax, dword [0x4079bc]
call fcn.0040c6bc
call fcn.004040f8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403240
mov eax, ebx
call fcn.00404f24
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46a26c
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.00405fd8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f34
test eax, eax
jle 0x46a203
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.eClipRect_GetComputerNameA
test eax, eax
je 0x46a1fc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404944
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040492c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408850
test eax, eax
jne 0x46a1fc
mov ebx, 0x15
jmp 0x46a208
mov ebx, 0x10
jmp 0x46a208
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 [0x477f4c]
call fcn.0046a070
mov eax, dword [ebp - 8]
call fcn.0046a070
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a263
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046e0
lea eax, [ebp - 0x10]
mov edx, dword [0x415788]
call fcn.00405124
ret
Function at 0x46b92c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46baf7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x40], 0
je 0x46b967
cmp byte [ebx + 0x41], 0
jne 0x46b967
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x46b993
cmp byte [ebx + 0x41], 1
jne 0x46b981
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0
call fcn.0042bc10
call fcn.0046a070
jmp 0x46b993
lea eax, [ebp - 0x24]
push eax
push 0x11
push 0
call fcn.0042bc10
call fcn.0046a070
xor edx, edx
push ebp
push 0x46bad2
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x48]
mov edx, 0x104
call fcn.00404d08
mov eax, dword [ebx + 0x48]
call fcn.00404b7c
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x44], 0
je 0x46b9cc
mov eax, dword [ebx + 0x44]
call fcn.00404b7c
mov dword [ebp - 0x1c], eax
jmp 0x46b9d1
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x41], 1
jne 0x46b9e0
mov dword [ebp - 0x18], 0x1000
jmp 0x46b9e7
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0x46b554
mov dword [ebp - 0x10], ebx
mov eax, dword [0x478380]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0046bb08
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x46bab7
xor eax, eax
push ebp
push 0x46bab0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x41], 0
jne 0x46ba7d
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0042bc08
call fcn.0040de3c
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x12d]
call fcn.0040982c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0046bc60
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x50]
call fcn.00404710
jmp 0x46ba88
lea eax, [ebx + 0x50]
mov edx, dword [ebx + 0x48]
call fcn.00404710
lea eax, [ebx + 0x4c]
mov edx, dword [ebx + 0x50]
call fcn.00404710
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bab7
mov eax, dword [ebp - 8]
push eax
call fcn.00415a3c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bad9
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46bad1
push eax
call fcn.00415a3c
ret

Function at 0x46bcc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b6c
xor eax, eax
push ebp
push 0x46bd11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b7c
push eax
call sub.eClipRect_GetFileAttributesA
cmp eax, 0xffffffff
je 0x46bcf5
test al, 0x10
jne 0x46bcf9
xor ebx, ebx
jmp 0x46bcfb
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bd18
lea eax, [ebp - 4]
call fcn.004046bc
ret