joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459004
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffffab4
mov ebp, ecx
mov edi, edx
mov esi, eax
lea ebx, [esp + 0x500]
mov eax, 0x426
call fcn.0041202c
push eax
lea edx, [esp + 4]
push edx
call fcn.00494f58
add esp, 8
push 3
push 0x4a6bb1
lea ecx, [esp + 8]
push ecx
call fcn.00494f88
pop ecx
lea edx, [esp + 9]
add eax, edx
push eax
call fcn.00494d68
add esp, 0xc
lea eax, [esp + 0x100]
mov word [eax], 0
push 0x4c
push 0
push ebx
call fcn.00494dd8
add esp, 0xc
mov dword [ebx], 0x4c
mov dword [ebx + 4], esi
mov ecx, dword [0x4af754]
lea eax, [esp + 0x100]
mov dword [ebx + 8], ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], pe_nt_image_headers32
mov dword [ebx + 0x44], 0x45874c
mov dword [ebx + 0x34], 0x9036c
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x40], edi
call fcn.0040ffc8
test eax, eax
je 0x45915e
mov eax, 0x426
call fcn.0041202c
lea edx, [esp + 0x54c]
mov ecx, 0x10000000
call fcn.00410040
lea eax, [esp + 0x54c]
call fcn.00410228
add eax, eax
lea edx, [esp + 0x54e]
add eax, edx
mov edx, 0x4a6bb4
call fcn.0041023c
lea eax, [esp + 0x54c]
call fcn.00410228
mov word [esp + eax*2 + 0x54e], 0
lea edx, [esp + 0x74c]
mov ecx, 0x10000000
mov eax, dword [ebx + 0x30]
call fcn.00410040
lea eax, [esp + 0x54c]
lea edx, [esp + 0x74c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x30], edx
mov ecx, 0x4a6bb8
lea eax, [esp + 0x94c]
mov dword [ebx + 0x48], ecx
push eax
push 0x800
call sub.KERNEL32.DLL_GetCurrentDirectoryW
lea edx, [esp + 0x94c]
mov dword [ebx + 0x2c], edx
push ebx
call sub.COMDLG32.DLL_GetOpenFileNameW
jmp 0x45918c
mov ecx, esp
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x48], str.OKCANCELTPL
lea eax, [esp + 0x114c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea edx, [esp + 0x114c]
mov dword [ebx + 0x2c], edx
push ebx
call sub.COMDLG32.DLL_GetOpenFileNameA
add esp, 0x154c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45b918
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov eax, 0x4a6ed0
push ebx
push esi
push edi
call fcn.00495388
cmp dword [0x4c4de8], 0
je 0x45b945
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x45ba89
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne cl
and ecx, 1
mov byte [0x4c7dbe], cl
cmp byte [0x4c7dbe], 0
jne 0x45b971
cmp dword [0x4c4de0], 0
jne 0x45b971
xor ebx, ebx
jmp 0x45b976
mov ebx, 1
push 8
call fcn.00493590
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x45b99e
mov word [ebp - 0x1c], 0x14
mov eax, dword [ebp - 4]
call fcn.00459c6c
mov word [ebp - 0x1c], 8
mov esi, dword [ebp - 4]
jmp 0x45b9a1
mov esi, dword [ebp - 4]
push 0x4f14
call fcn.00493590
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x45b9ce
mov word [ebp - 0x1c], 0x2c
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004591dc
mov word [ebp - 0x1c], 0x20
mov edi, dword [ebp - 8]
jmp 0x45b9d1
mov edi, dword [ebp - 8]
mov byte [0x4c7dbd], 0
mov byte [0x4c7dc0], 0
lea eax, [ebp - 0x30]
mov byte [0x4c7dbc], 1
mov byte [0x4c7dbf], 0
push eax
test bl, bl
je 0x45b9fc
mov edx, 3
jmp 0x45ba01
mov edx, 1
push edx
push esi
push edi
call sub.OLE32.DLL_DoDragDrop
mov ebx, eax
mov byte [0x4c7dbc], 0
push edi
mov eax, dword [edi]
call dword [eax + 8]
push esi
mov ecx, dword [esi]
call dword [ecx + 8]
cmp byte [0x4c7dbe], 0
je 0x45ba47
cmp dword [0x4c4de0], 0
je 0x45ba47
cmp ebx, 0x40100
jne 0x45ba47
call fcn.0044a558
mov eax, 0x4c2454
call fcn.00465248
cmp ebx, 0x40100
je 0x45ba7f
cmp byte [0x4c7dbf], 0
jne 0x45ba7f
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x3f0
je 0x45ba7f
mov eax, 0x53c
call fcn.0041202c
push eax
call fcn.0044e46c
pop ecx
mov eax, 0x4af120
call fcn.0042d020
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45bf1a
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov eax, ebx
mov byte [ebp - 1], 0
mov dl, 1
call fcn.0040c310
mov edx, ebx
mov eax, ebx
call fcn.0040bb70
mov ecx, 0x400
xor edx, edx
mov eax, ebx
call fcn.0040c394
jmp case.0x45bf82.65
test esi, 2
setne cl
push dword [ebp + 0x10]
and ecx, 1
lea eax, [ebp - 2]
push ecx
mov ecx, edi
mov edx, ebx
call fcn.0045ea0c
xor eax, eax
mov al, byte [ebp - 2]
add eax, 0xffffffbf
cmp eax, 0x18
ja case.0x45bf82.65
mov al, byte [eax + 0x45bf89]
jmp dword [eax*4 + 0x45bfa2]
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
test esi, 1
jne 0x45bfc8
push ebx
call sub.KERNEL32.DLL_DeleteFileA
mov eax, 0x59
jmp 0x45c003
xor eax, eax
mov al, byte [ebp - 2]
jmp 0x45c003
mov byte [ebp - 1], 1
push ebx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x45bf53
cmp byte [ebp - 1], 0
je 0x45bffe
test esi, 4
je 0x45bffe
mov eax, 0x52
jmp 0x45c003
mov eax, 0x59
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x45d170
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff7c
mov ebx, eax
mov edi, esp
mov ebp, str.Formats.fmt
lea eax, [ebx + 4]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
mov dword [ebx + 0x404], esi
test esi, esi
jne 0x45d19f
xor eax, eax
jmp 0x45d35d
lea edx, [ebp + 0x29]
push edx
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x490], eax
lea ecx, [ebp + 0x31]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x494], eax
lea eax, [ebp + 0x36]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x498], eax
lea edx, [ebp + 0x3c]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x49c], eax
lea ecx, [ebp + 0x42]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a0], eax
lea eax, [ebp + 0x4e]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a4], eax
lea edx, [ebp + 0x5a]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a8], eax
lea ecx, [ebp + 0x62]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4ac], eax
cmp dword [ebx + 0x490], 0
je 0x45d25d
cmp dword [ebx + 0x494], 0
jne 0x45d264
cmp dword [ebx + 0x498], 0
jne 0x45d264
xor eax, eax
jmp 0x45d35d
push 0x84
push 0
push edi
call fcn.00494dd8
add esp, 0xc
mov dword [edi], 0x84
mov dword [edi + 4], 0x45bd38
mov dword [edi + 8], 0x45be7c
mov dword [edi + 0xc], 0x45be8f
mov dword [edi + 0x10], 0x45bea4
mov dword [edi + 0x14], 0x45bf03
mov dword [edi + 0x18], 0x45c00b
mov dword [edi + 0x1c], 0x45c01f
mov dword [edi + 0x20], 0x45c02a
mov dword [edi + 0x24], 0x45c0cc
mov dword [edi + 0x28], 0x45c170
mov dword [edi + 0x2c], 0x45c214
mov dword [edi + 0x30], 0x45c5a7
mov dword [edi + 0x34], 0x45c5b6
mov dword [edi + 0x38], 0x45c652
mov dword [edi + 0x3c], fcn.0045bf1a
mov dword [edi + 0x40], 0x45c6e4
mov dword [edi + 0x44], 0x45c700
push 0x88
push 0
lea edx, [ebx + 0x408]
push edx
call fcn.00494dd8
add esp, 0xc
lea ecx, [ebx + 0x408]
mov dword [ebx + 0x408], 0x88
push ecx
push edi
call dword [ebx + 0x490]
cmp dword [ebx + 0x488], 0
je 0x45d35b
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
mov dword [ebx + 0x404], eax
lea eax, [ebx + 4]
call fcn.0040ba60
push eax
mov eax, 0x42e
call fcn.0041202c
push eax
call fcn.0044e46c
add esp, 8
xor eax, eax
jmp 0x45d35d
mov al, 1
add esp, 0x84
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45e61c
Capabilities:
Check if file exists
Get common file path
Get disk information
Get file attributes

Disassembly:
push ebx
mov ebx, ecx
add esp, 0xfffffc00
mov edx, 0x4a7194
mov byte [ebx], 0
mov eax, 0x4a718e
push 0x4a70c1
push 0x400
lea ecx, [esp + 8]
call fcn.0046c1a4
cmp byte [esp], 0
je 0x45e6a7
push esp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x45e661
push esp
push 0x400
call sub.KERNEL32.DLL_GetTempPathA
mov edx, 0x4a719f
mov eax, 0x4a718e
mov ecx, 1
call fcn.0046c37c
test eax, eax
je 0x45e696
push 0
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x45e68a
cmp eax, 5
jne 0x45e6a0
push esp
push ebx
call fcn.00494f58
add esp, 8
jmp 0x45e6a0
push esp
push ebx
call fcn.00494f58
add esp, 8
mov eax, ebx
call fcn.0040bf64
add esp, 0x400
pop ebx
ret
Function at 0x4643bc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
mov ebx, eax
push eax
add esp, 0xfffffe10
mov eax, dword [ebx + 0x520]
test eax, eax
je 0x4645af
mov edi, dword [ebx + eax*4 + 0x49c]
xor eax, eax
mov dword [esp], eax
test edi, edi
je 0x4645af
push esp
push 0x20
push dword [ebx]
push edi
mov edx, dword [edi]
call dword [edx + 0x10]
test eax, eax
jne 0x4645af
cmp dword [esp], 0
je 0x4645af
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 4], ecx
jmp 0x464588
mov dword [esp + 0xc], 0x10000000
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 8]
push edx
push 1
push edi
mov ecx, dword [edi]
call dword [ecx + 0x24]
test byte [esp + 0xf], 0x10
je 0x464454
lea eax, [esp + 0x10]
push eax
push 0
xor ecx, ecx
mov edx, dword [esp + 0xc]
mov eax, edi
call fcn.0046b0d4
test eax, eax
jne 0x464469
push dword [esp + 4]
mov edx, dword [0x4caa0c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
jmp 0x464588
mov eax, dword [ebx + 0x520]
mov edx, dword [esp + 4]
mov eax, dword [ebx + eax*4 + 0x41c]
call fcn.0046b044
mov esi, eax
push 0x4409
push 0x160
lea eax, [esp + 0x418]
push eax
push 0
push esi
call sub.SHELL32.DLL_SHGetFileInfoA
push esi
mov edx, dword [0x4caa0c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
mov dword [esp + 0x570], 7
mov dword [esp + 0x574], ebp
xor edx, edx
mov eax, dword [esp + 0x414]
lea ecx, [esp + 0x10]
mov dword [esp + 0x58c], eax
mov dword [esp + 0x578], edx
mov dword [esp + 0x584], ecx
push 0xc30
push 0
lea eax, [esp + 0x5a0]
push eax
call fcn.00494dd8
add esp, 0xc
mov edx, dword [esp + 4]
mov dword [esp + 0x11c0], edx
mov dword [esp + 0x11b4], 0x20
push dword [esp + 0x584]
lea ecx, [esp + 0x59c]
push ecx
call fcn.00494f58
add esp, 8
mov eax, 0x4c90e4
mov dword [esp + 0x11a8], 0x10
lea edx, [esp + 0x598]
call fcn.0046b858
mov dword [esp + 0x590], eax
lea ecx, [esp + 0x570]
push ecx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [esp + 0x11d0], 2
lea edx, [esp + 0x520]
lea ecx, [esp + 0x11c8]
mov dword [esp + 0x11dc], edx
push ecx
push eax
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc ebp
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push 1
mov edx, dword [esp + 0xc]
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
test eax, eax
je 0x46441b
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
add esp, 0x11f0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4656cc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff004
mov esi, 0x4a7ddc
mov ebx, edx
push eax
add esp, 0xfffff9d0
lea edx, [esi + 4]
mov edi, ecx
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
push edx
mov edx, ebx
push 0x100
mov eax, 0x80000000
call fcn.0046c1c0
cmp byte [esp + 4], 0
je 0x465717
lea ecx, [esp + 4]
push ecx
push edi
call fcn.00494f58
add esp, 8
push ebx
lea eax, [esi + 0x97]
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.00497eb8
add esp, 0xc
lea ecx, [esp + 0x230]
push ecx
lea eax, [esi + 4]
push eax
push 0x800
lea ecx, [esi + 4]
lea edx, [esp + 0x110]
mov eax, 0x80000000
call fcn.0046c1c0
test al, al
jne 0x465816
push ebx
lea edx, [esi + 0xa6]
push edx
lea ecx, [esp + 0x10c]
push ecx
call fcn.00497eb8
add esp, 0xc
lea eax, [esp + 0xa30]
push eax
lea edx, [esi + 4]
push edx
push 0x400
lea ecx, [esi + 4]
lea edx, [esp + 0x110]
mov eax, 0x80000000
call fcn.0046c1c0
test al, al
jne 0x4657a4
xor eax, eax
jmp 0x465897
xor edx, edx
mov dl, byte [esp + 0xa30]
cmp edx, 0x22
jne 0x4657bb
lea ecx, [esp + 0xa31]
jmp 0x4657c2
lea ecx, [esp + 0xa30]
push ecx
lea eax, [esp + 0x234]
push eax
call fcn.00494f58
add esp, 8
push 0x22
lea edx, [esp + 0x234]
push edx
call fcn.00495025
add esp, 8
test eax, eax
je 0x4657ec
mov byte [eax], 0
lea eax, [esi + 0xbc]
push eax
lea edx, [esp + 0x234]
push edx
call fcn.00495049
add esp, 8
test eax, eax
je 0x46580a
mov byte [eax], 0
lea eax, [esp + 0x230]
call fcn.0040ee48
lea edx, [esi + 0xbc]
push edx
lea ecx, [esp + 0x234]
push ecx
call fcn.00494f0c
add esp, 8
test eax, eax
jne 0x465835
xor eax, eax
jmp 0x465897
xor esi, esi
push 0x800
lea eax, [esp + 0xe34]
push eax
lea edx, [esp + 0x238]
push edx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
push 0x2c
lea ecx, [esp + 0xe34]
push ecx
call fcn.0049503d
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x465878
lea esi, [ebx + 1]
push esi
call fcn.004997e8
pop ecx
mov esi, eax
mov byte [ebx], 0
xor eax, eax
mov dword [esp], eax
push 1
lea edx, [esp + 4]
push edx
push 0
push esi
lea ecx, [esp + 0xe40]
push ecx
call sub.SHELL32.DLL_ExtractIconExA
mov eax, dword [esp]
add esp, 0x1630
pop edi
pop esi
pop ebx
ret
Function at 0x466ff8
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
mov ebx, eax
mov edx, esp
mov eax, 0x4c319c
xor ecx, ecx
call fcn.00462710
mov eax, esp
call fcn.0040ba60
mov edx, str.rarkey
mov ecx, 6
call fcn.0040ee24
test eax, eax
jne 0x467113
mov edx, 0x4a7fc3
mov eax, ebx
call fcn.004645bc
test eax, eax
jne 0x467058
mov edx, str.rarreg.txt
mov eax, ebx
call fcn.004645bc
test eax, eax
je 0x467113
lea edx, [esp + 0x800]
lea eax, [esp + 0x400]
call fcn.0044d190
test al, al
je 0x467113
push 0x400
lea ecx, [esp + 0x1004]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4a7fc3
lea eax, [esp + 0x1004]
call fcn.0040ba60
push eax
call fcn.00494f58
add esp, 8
push 0
lea edx, [esp + 0x1004]
push edx
lea ecx, [esp + 0x408]
push ecx
call sub.KERNEL32.DLL_CopyFileA
lea eax, [esp + 0x400]
push eax
call fcn.00497b1c
pop ecx
push dword [0x4c2440]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040e580
mov byte [0x4af730], al
mov eax, 0x4c2454
call fcn.00465248
cmp byte [0x4af730], 0
je 0x467113
push 0x30
mov eax, 0x368
call fcn.0041202c
push eax
mov eax, 0x367
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
add esp, 0x1400
pop ebx
ret

Function at 0x46711c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffff200
mov ebp, ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 0xc00]
mov eax, ebx
call fcn.0040a9a4
lea edx, [esp + 0x1000]
mov eax, ebp
call fcn.0040a9ec
push ebx
lea ecx, [esp + 4]
push ecx
call fcn.00494f58
add esp, 8
mov edx, 0x400
lea eax, [esp + 0x800]
call fcn.0046ec68
lea ecx, [esp + 0x400]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x800]
push eax
call fcn.00494f88
pop ecx
mov ecx, eax
lea eax, [esp + 0x800]
mov edx, ebx
call fcn.0040ee24
test eax, eax
je 0x4671d8
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.0049503d
add esp, 8
mov esi, eax
test eax, eax
je 0x4671d8
mov edx, esp
cmp esi, edx
jbe 0x4671d8
mov al, byte [esi - 1]
xor edx, edx
mov dl, al
cmp edx, 0x3a
je 0x4671d8
cmp edx, 0x5c
je 0x4671d8
mov byte [esi], 0
push esp
call fcn.004968ec
pop ecx
push 1
mov ecx, ebp
mov edx, ebx
mov eax, edi
call fcn.00466b2c
cmp eax, 0xffffffff
jne 0x467201
push 1
lea ecx, [esp + 0x1004]
lea edx, [esp + 0xc04]
mov eax, edi
call fcn.00466b2c
cmp eax, 1
je 0x46727f
cmp eax, 2
je 0x46726d
inc eax
jne 0x46722c
push ebx
mov eax, 0x1f5
call fcn.0041202c
push eax
lea edx, [esp + 0x1808]
push edx
call fcn.00497eb8
add esp, 0xc
jmp 0x46724d
mov eax, 0x1fc
call fcn.0041202c
push eax
push ebx
push str._s_n_s
lea edx, [esp + 0x180c]
push edx
call fcn.00497eb8
add esp, 0x10
push 0x10
mov eax, 0x66
call fcn.0041202c
push eax
lea edx, [esp + 0x1808]
push edx
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
lea ecx, [esp + 0x400]
push ecx
call fcn.004968ec
pop ecx
xor eax, eax
jmp 0x467281
mov al, 1
add esp, 0x1e00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46728c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffff7f8
mov ebp, ecx
mov edi, edx
mov esi, eax
push 0x4a7e00
push edi
call fcn.00494f0c
add esp, 8
test eax, eax
sete bl
and ebx, 1
cmp byte [esi + 0x41d], 0
je 0x46730d
xor eax, eax
test bl, bl
mov dword [esp], eax
je 0x4672d2
mov dword [esp], 1
push 0x4a7fba
push edi
call fcn.00494f0c
add esp, 8
test eax, eax
jne 0x4672ed
mov edx, dword [esi + 0x520]
mov dword [esp], edx
cmp dword [esp], 0
je 0x46730d
xor ecx, ecx
mov edx, dword [esp]
mov eax, esi
call fcn.00468740
xor edx, edx
mov eax, esi
call fcn.00463974
jmp 0x4674f8
mov eax, esi
call fcn.00469730
cmp dword [0x4c4de0], 0
je 0x4673ff
mov edx, str.FlatView
mov eax, 0x4a7e03
xor ecx, ecx
call fcn.0046c37c
test eax, eax
je 0x46733e
test bl, bl
je 0x4674f8
lea edx, [esp + 8]
mov eax, 0x4c319c
xor ecx, ecx
call fcn.004626e4
push 0x4a7fba
push edi
call fcn.00494f0c
add esp, 8
test eax, eax
je 0x467391
mov eax, 0x4c319c
mov ecx, ebp
mov edx, edi
call fcn.0046254c
test eax, eax
je 0x467391
test bl, bl
je 0x467383
lea eax, [esp + 8]
call fcn.0040ba60
mov edx, eax
jmp 0x467385
xor edx, edx
mov eax, esi
call fcn.00464754
jmp 0x4674f8
lea edx, [esp + 0x408]
mov eax, 0x4c319c
xor ecx, ecx
call fcn.00462710
lea eax, [esp + 0x408]
push eax
lea edx, [esp + 0x80c]
push edx
call fcn.00494f58
add esp, 8
lea eax, [esp + 0x808]
call fcn.0040c004
lea eax, [esp + 0x808]
xor edx, edx
call fcn.0046ed24
mov eax, esi
call fcn.00469244
test al, al
je 0x4674f8
lea eax, [esp + 0x408]
call fcn.0040ba60
mov edx, eax
mov eax, esi
call fcn.00463974
jmp 0x4674f8
lea edx, [esp + 0xc08]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x4674c2
lea ecx, [esp + 0xc08]
push ecx
lea eax, [esp + 0x100c]
push eax
call fcn.00494f58
add esp, 8
lea edx, [esp + 0x1408]
lea eax, [esp + 0xc08]
call fcn.0040c534
lea eax, [esp + 0x1008]
call fcn.0040bf64
lea eax, [esp + 0x1408]
call fcn.0040bf64
lea edx, [esp + 0x1408]
lea eax, [esp + 0x1008]
call fcn.0040ee00
test eax, eax
jne 0x4674c2
cmp dword [esi + 0x520], 0
jle 0x467485
mov byte [esi + 0x41d], 1
jmp 0x4674b7
xor edx, edx
mov dword [esp + 4], edx
lea ecx, [esp + 4]
push ecx
push 0x11
push dword [esi]
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
mov eax, 0x4c2454
mov edx, dword [esp + 4]
call fcn.00469690
push dword [esp + 4]
mov ecx, dword [0x4caa0c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
mov eax, esi
call fcn.00463974
jmp 0x4674f8
mov edx, ebp
mov eax, edi
call fcn.0046ed24
test al, al
jne 0x4674db
mov eax, 0x4a7fba
xor edx, edx
call fcn.0046ed24
test bl, bl
je 0x4674ef
lea eax, [esp + 0xc08]
call fcn.0040ba60
mov edx, eax
jmp 0x4674f1
xor edx, edx
mov eax, esi
call fcn.00463974
add esp, 0x1808
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x467e18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov ebx, eax
push esp
call sub.USER32.DLL_GetCursorPos
push esp
push dword [ebx]
call sub.USER32.DLL_ScreenToClient
mov eax, esp
push eax
push 0
push 0x1012
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne bl
and ebx, 1
push 0x12
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
push 0x11
mov esi, eax
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
test byte [esp + 8], 1
jne 0x467e83
test ebx, ebx
jne 0x467e83
test esi, esi
jne 0x467e83
test eax, eax
je 0x467e87
xor edx, edx
jmp 0x467e8c
mov edx, 1
mov eax, edx
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x467e94
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffa78
mov ebx, eax
push 0
push 0
push 0x1004
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
mov eax, esp
mov edx, 0x400
call fcn.0046ec68
push 0x4001
push 0x160
lea ecx, [esp + 0x408]
push ecx
push 0
lea eax, [esp + 0x10]
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
push 0x28
push 0
lea edx, [esp + 0x568]
push edx
call fcn.00494dd8
add esp, 0xc
xor eax, eax
mov dword [esp + 0x560], 3
mov ecx, dword [esp + 0x404]
mov dword [esp + 0x57c], ecx
mov dword [esp + 0x564], esi
mov dword [esp + 0x568], eax
mov eax, 0x3d4
call fcn.0041202c
mov dword [esp + 0x574], eax
lea edx, [esp + 0x560]
push edx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push dword [ebx]
call sub.USER32.DLL_SetFocus
mov byte [ebx + 0x1c], 1
push 0
push esi
push 0x1017
push dword [ebx]
call sub.USER32.DLL_SendMessageA
add esp, 0x588
pop esi
pop ebx
ret
Function at 0x4682cc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff178
mov ebx, eax
cmp dword [0x4c4de0], 0
je 0x4682e8
mov edx, str.ArcSort
jmp 0x4682ed
mov edx, str.FileSort
mov eax, 0x4a7e03
xor ecx, ecx
call fcn.0046c37c
mov edi, eax
mov eax, edi
and eax, 0x1f
cmp eax, 2
jne 0x46842c
xor esi, esi
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 0xc], eax
lea edx, [esp + 4]
mov dword [esp + 4], 4
push edx
push 0
push 0x1005
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test eax, eax
je 0x46842c
mov eax, 0x4c90e4
mov edx, dword [esp + 0x24]
call fcn.0046bbfc
mov ebp, esi
mov dword [eax + 8], ebp
mov eax, dword [0x4c4de0]
test eax, eax
jne 0x468426
mov byte [esp + 0x2c], 0
add eax, 2
lea edx, [esp + 0x2c]
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0x50
mov dword [esp + 0x90], edx
push ecx
push ebp
push 0x102d
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp byte [esp + 0x2c], 0
jne 0x468426
lea ecx, [esp + 0xa4]
mov eax, 0x4c90e4
mov edx, dword [esp + 0x24]
call fcn.0046ba40
push 0x400
push 0x160
lea eax, [esp + 0xcdc]
push eax
push 0
lea edx, [esp + 0xb4]
push edx
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x468426
cmp byte [esp + 0xde4], 0
jne 0x4683f3
lea ecx, [esp + 0xde4]
lea edx, [esp + 0xa4]
mov eax, ebx
call fcn.00467f98
mov ecx, dword [0x4c4de0]
lea eax, [esp + 0xde4]
add ecx, 2
lea edx, [esp + 0xe34]
mov dword [esp + 0xe3c], ecx
mov dword [esp + 0xe48], eax
push edx
push ebp
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc esi
jmp 0x46830b
mov edx, 0x4a801d
mov eax, 0x4a7e03
mov ecx, 1
call fcn.0046c37c
test eax, eax
je 0x468447
or edi, 0x40
mov edx, str.FlatView
mov eax, 0x4a7e03
xor ecx, ecx
call fcn.0046c37c
test eax, eax
je 0x468462
or edi, 0x80
push 0x4632af
push edi
push 0x1030
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebx + 4], 0
je 0x46857e
test edi, 0x20
setne al
and eax, 1
and edi, 0x1f
or ebp, 0xffffffff
mov byte [esp], al
xor eax, eax
mov edx, eax
shl edx, 3
sub edx, eax
cmp edi, dword [edx*4 + 0x4a7c90]
jne 0x4684ae
mov ebp, dword [edx*4 + 0x4a7c8c]
jmp 0x4684b4
inc eax
cmp eax, 7
jl 0x468495
push 0
push ebp
push 0x108c
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [esp + 0xe5c], 0x24
xor esi, esi
lea eax, [esp + 0xe5c]
push eax
mov edi, esi
push edi
push 0x1203
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
test eax, eax
je 0x46851f
test byte [esp + 0xe71], 8
je 0x468519
and dword [esp + 0xe70], 0xffffe7ff
lea eax, [esp + 0xe5c]
push eax
push edi
push 0x1204
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
jmp 0x46851f
inc esi
cmp esi, 0x10
jl 0x4684d0
push dword [ebx + 0xc]
push 0
push 0x1208
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
lea edx, [esp + 0xe5c]
push edx
push ebp
push 0x1203
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
or dword [esp + 0xe70], 0x1800
cmp byte [esp], 0
je 0x46855f
mov ecx, 1
jmp 0x468561
xor ecx, ecx
mov dword [esp + 0xe78], ecx
lea eax, [esp + 0xe5c]
push eax
push ebp
push 0x1204
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
add esp, 0xe88
pop ebp
pop edi
pop esi
pop ebx
ret