joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45376c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4539a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.00452a3c
xor eax, eax
push ebp
push 0x45397d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00452df4
test al, al
je 0x453961
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403d0c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x453961
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404068
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x453955
mov eax, dword [ebp - 0x14]
call fcn.00404068
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403ddc
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00453390
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x453955
xor eax, eax
push ebp
push 0x45394e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.00452a3c
xor eax, eax
push ebp
push 0x453930
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00404068
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403ddc
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00452a40
mov eax, dword [ebp - 0x14]
call fcn.00404068
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403ddc
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00453390
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x45390d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00453644
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0045376c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453914
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x4537f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453984
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.00452a3c
ret
Function at 0x456fd8
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x457011
mov eax, dword [0x504110]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x457004
push ebx
push 0x457018
call fcn.0042c724
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x457038
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00456fd8
xor edx, edx
push ebp
push 0x457107
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 2
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4570d9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x4570c8
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004028a4
mov eax, dword [ebp - 4]
call fcn.00456f90
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4570cf
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x457118
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00456fd8
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
jne 0x45713a
xor edi, edi
jmp 0x457159
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov ecx, ebp
dec ecx
mov eax, edi
call fcn.00407f94
call fcn.00407ed8
mov edi, eax
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, esi
call fcn.00456fac
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x457188
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00456fd8
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4571fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4571ce
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403ddc
jmp 0x4571d5
mov eax, ebx
call fcn.00403c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457201
cmp dword [ebp - 8], 0
je 0x4571f1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00456fac
ret
Function at 0x457208
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4572e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456fd8
xor edx, edx
push ebp
push 0x4572c9
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x457292
mov edx, ebx
mov eax, dword [0x41513c]
call fcn.00419824
test al, al
je 0x457282
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.004196f8
call fcn.00403720
jmp 0x4572d0
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x45724d
lea edx, [ebp - 8]
mov eax, dword [0x503fa4]
call fcn.00404ed8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406af0]
call fcn.0040960c
call fcn.00403680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4572d0
mov eax, dword [ebp - 4]
call fcn.00456fac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4572ed
lea eax, [ebp - 8]
call fcn.00403c28
ret

Function at 0x4572f4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00456fd8
xor eax, eax
push ebp
push 0x45734c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457353
mov eax, dword [ebp - 4]
call fcn.00456fac
ret

Function at 0x45735c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00456fd8
xor edx, edx
push ebp
push 0x4573b1
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4573b8
mov eax, dword [ebp - 4]
call fcn.00456fac
ret
Function at 0x457428
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00456fd8
xor eax, eax
push ebp
push 0x45749d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456f90
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004197f8
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x457487
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4574a4
mov eax, dword [ebp - 4]
call fcn.00456fac
ret

Function at 0x4574ac
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00456fd8
xor eax, eax
push ebp
push 0x457521
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00456f90
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x45750b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457528
mov eax, dword [ebp - 4]
call fcn.00456fac
ret

Function at 0x45757c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00456fd8
xor eax, eax
push ebp
push 0x4575c0
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4575c7
mov eax, dword [ebp - 4]
call fcn.00456fac
ret
Function at 0x459194
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45932b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00458c64
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.00409e74
cmp al, 2
jne 0x4591da
dec esi
mov eax, ebx
call fcn.00458f78
test al, al
je 0x4592cb
test esi, esi
jge 0x4591ef
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00458c64
mov eax, dword [ebp - 0x204]
call fcn.00403ea4
cmp edi, eax
jge 0x459236
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00458c64
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x50423c]
and eax, 0xff
bt dword [edx], eax
jae 0x459236
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x459244
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.00459170
cmp edi, esi
je 0x4592c3
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x45926a
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.004258bc
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.004258bc
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x459312
test esi, esi
jge 0x4592d1
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00458c64
mov eax, dword [ebp - 0x204]
call fcn.00403ea4
cmp esi, eax
jl 0x459307
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00458c64
mov eax, dword [ebp - 0x204]
call fcn.00403ea4
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.00459170
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459332
lea eax, [ebp - 0x204]
call fcn.00403c28
ret
Function at 0x45d0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x118]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x45d236
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebx + 0x10]
call fcn.00416820
cmp byte [ebp + 8], 0
je 0x45d109
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.004166f0
jmp 0x45d117
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.004166f0
mov eax, dword [ebx + 0x10]
call fcn.00416818
dec eax
jle 0x45d15d
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.004166e8
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.00416818
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.004167b0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x45d1bf
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.004176d4
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46765c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x467738
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 0x467718
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x168]
mov eax, esi
call fcn.00467524
mov eax, dword [ebp - 0x168]
mov edx, ebx
call fcn.00407dfc
push 0x200
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
lea edx, [ebp - 0x168]
mov eax, esi
call fcn.00467524
mov eax, dword [ebp - 0x168]
call fcn.00404068
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4676fa
mov eax, ebx
lea edx, [ebp - 0x158]
mov ecx, 0x104
call fcn.00403e54
mov eax, ebx
call fcn.004674f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46771f
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
Function at 0x467898
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467a58
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00403dcc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0x467a70
call fcn.00403ef0
lea eax, [ebp - 8]
mov edx, 0x19
call fcn.004041d4
lea eax, [ebp - 0x18]
mov edx, 0x1f4
call fcn.004041d4
push 0x1f3
mov eax, dword [ebp - 0x18]
call fcn.00404068
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x18
mov eax, dword [ebp - 8]
call fcn.00404068
push eax
mov eax, dword [ebp - 4]
call fcn.00404068
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x467975
mov eax, dword [ebp - 8]
call fcn.00404068
lea edx, [ebp - 0x1c]
call fcn.00408108
push dword [ebp - 0x1c]
push 0x467a7c
mov eax, ebx
call fcn.00402a44
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00403dcc
push dword [ebp - 0x20]
push 0x467a88
mov eax, esi
mov edx, 4
call fcn.00403f64
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
jmp 0x4679cb
mov edx, 0x467a8c
lea eax, [ebp - 0x24]
call fcn.00402b58
mov eax, ebx
call fcn.00402a44
mov edx, eax
lea eax, [ebp - 0x28]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
mov cl, 2
call fcn.00402b28
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x30]
call fcn.00402b58
mov edx, 0x467a90
lea eax, [ebp - 0x30]
mov cl, 4
call fcn.00402b28
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.00403e48
mov dword [edi], 0xffffffff
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00403dcc
lea eax, [ebp - 0x1c]
mov edx, 0x467a70
call fcn.00403eac
mov eax, dword [ebp - 0x1c]
call fcn.00404068
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
sub eax, 2
je 0x4679fa
sub eax, 2
jne 0x467a30
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00403dcc
lea eax, [ebp - 0x1c]
mov edx, 0x467a9c
call fcn.00403eac
mov eax, dword [ebp - 0x1c]
mov edx, esi
call fcn.0046765c
mov eax, dword [esi]
call fcn.00403ea4
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.004040e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a5f
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403c4c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c4c
ret

Function at 0x467c4c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x467c96
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404068
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
inc eax
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467c9d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
Function at 0x468110
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffea0
mov edi, ecx
mov esi, edx
mov ebx, eax
mov edx, edi
mov eax, esi
call fcn.00449f3c
cmp edi, dword [ebx + 0x2e0]
jne 0x46813f
mov edx, dword [ebx + 0x2dc]
mov eax, esi
call fcn.00449f70
jmp 0x468179
mov eax, esp
xor ecx, ecx
mov edx, 0x160
call fcn.00402c98
push 0x4003
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
call fcn.00404068
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, dword [esp + 4]
mov eax, esi
call fcn.00449f70
cmp word [ebx + 0x2ce], 0
je 0x468193
mov ecx, esi
mov edx, ebx
mov eax, dword [ebx + 0x2d0]
call dword [ebx + 0x2cc]
add esp, 0x160
pop edi
pop esi
pop ebx
ret

Function at 0x46886c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404058
xor eax, eax
push ebp
push 0x46894a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
test ebx, ebx
je 0x468924
lea eax, [ebp - 4]
call fcn.004674f4
push 0x4201
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404068
push eax
call sub.shell32.dll_SHGetFileInfoA
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 4]
call fcn.00467c38
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00407dfc
mov ecx, dword [ebp - 0x168]
mov edx, ebx
mov eax, dword [ebx + 4]
call fcn.0044acd4
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00467b8c
mov ecx, dword [ebp - 0x160]
mov edx, ebx
mov eax, esi
call fcn.00468110
mov edi, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468951
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.00403c4c
lea eax, [ebp - 4]
call fcn.00403c28
ret
Function at 0x46895c
Capabilities:
Get disk information
Get file system object information

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 - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404058
xor eax, eax
push ebp
push 0x468a94
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004674f4
push 0x4201
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404068
push eax
call sub.shell32.dll_SHGetFileInfoA
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x134]
call fcn.0044acf0
mov dword [edi], eax
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.00403dcc
lea eax, [ebp - 0x168]
mov edx, 0x468aac
call fcn.00403eac
mov eax, dword [ebp - 0x168]
call fcn.00404068
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x468a31
mov eax, dword [ebp - 4]
mov bl, byte [eax]
mov eax, ebx
call fcn.00402a44
and eax, 0xff
lea edx, [esi + eax*4 + 0x150]
lea ecx, [ebp - 0x168]
mov eax, ebx
call fcn.00467898
mov edx, dword [ebp - 0x168]
mov eax, dword [edi]
call fcn.00449dd4
jmp 0x468a54
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x158]
mov ecx, 0x104
call fcn.00403e54
mov edx, dword [ebp - 0x168]
mov eax, dword [edi]
call fcn.00449dd4
mov eax, dword [ebp + 8]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00467b8c
mov edx, dword [edi]
mov ecx, dword [ebp - 0x160]
mov eax, esi
call fcn.00468110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468a9b
lea eax, [ebp - 0x168]
call fcn.00403c28
lea eax, [ebp - 4]
call fcn.00403c28
ret