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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff328
push ebx
push esi
lea esi, [ebp - 0x80c]
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [esi], 0
xor ebx, ebx
lea ecx, [ebp - 0x88c]
mov eax, 0x4ba564
mov edx, ebx
call fcn.0045d4c0
test al, al
je 0x45415c
test ebx, ebx
je 0x45413b
push 0x49e662
push esi
call fcn.0048d67c
add esp, 8
push 0x49e664
push esi
call fcn.0048d67c
add esp, 8
lea eax, [ebp - 0x88c]
push eax
push esi
call fcn.0048d67c
add esp, 8
inc ebx
jmp 0x454113
mov eax, 0x426
call fcn.004116e0
push eax
push esi
mov eax, 0x425
call fcn.004116e0
push eax
push esi
mov eax, 0x424
call fcn.004116e0
push eax
push str._s_t_s_t_s_t_s_.exe_t_s_t._t
lea edx, [ebp - 0x40c]
push edx
call fcn.00490628
add esp, 0x1c
cmp byte [ebp - 9], 0
je 0x4541d5
mov eax, dword [ebp - 8]
call fcn.0040b948
mov ebx, eax
test ebx, ebx
je 0x4541d5
inc ebx
push ebx
call fcn.0048d788
pop ecx
cmp eax, 0x14
jge 0x4541d5
mov eax, 0x426
call fcn.004116e0
push eax
push ebx
push ebx
push str._s_t._s_t_s_t._t
lea edx, [ebp - 0x40c]
push edx
call fcn.00490628
add esp, 0x14
xor eax, eax
jmp 0x4541ed
and edx, 0xff
cmp edx, 9
jne 0x4541ec
mov byte [ebp + eax - 0x40c], 0
inc eax
mov dl, byte [ebp + eax - 0x40c]
test dl, dl
jne 0x4541d9
push 0x4c
push 0
lea eax, [ebp - 0x8d8]
push eax
call fcn.0048d5d8
mov dword [ebp - 0x8d8], 0x4c
mov ecx, dword [ebp - 4]
mov eax, dword [0x4a6fb8]
mov dword [ebp - 0x8d4], ecx
mov dword [ebp - 0x8d0], eax
lea edx, [ebp - 0x40c]
add esp, 0xc
mov dword [ebp - 0x8cc], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x8bc], ecx
mov dword [ebp - 0x8b8], 0x400
cmp byte [ebp + 8], 0
je 0x454255
mov eax, 0x48d
jmp 0x45425a
mov eax, 0x140
call fcn.004116e0
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 8]
call fcn.0040b578
cmp eax, dword [ebp - 8]
jne 0x45428f
lea edx, [ebp - 0xcd8]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0xcd8]
mov dword [ebp - 0x8ac], ecx
mov dword [ebp - 0x8a4], 0x1080c
mov dword [ebp - 0x89c], 0x49e691
lea eax, [ebp - 0x8d8]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x4542d5
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x4542d5
mov eax, dword [ebp - 8]
mov byte [eax], 0
lea edx, [ebp - 0x8d8]
push edx
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4542e8
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.004116e0
push eax
lea edx, [esp + 4]
push edx
call fcn.0048d758
add esp, 8
push 3
push 0x49e695
lea ecx, [esp + 8]
push ecx
call fcn.0048d788
pop ecx
lea edx, [esp + 9]
add eax, edx
push eax
call fcn.0048d568
add esp, 0xc
lea eax, [esp + 0x100]
mov word [eax], 0
push 0x4c
push 0
push ebx
call fcn.0048d5d8
add esp, 0xc
mov dword [ebx], 0x4c
mov dword [ebx + 4], esi
mov ecx, dword [0x4a6fb8]
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], 0x453a30
mov dword [ebx + 0x34], 0x9036c
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x40], edi
call fcn.0040f818
test eax, eax
je 0x454442
mov eax, 0x426
call fcn.004116e0
lea edx, [esp + 0x54c]
mov ecx, 0x10000000
call fcn.0040f890
lea eax, [esp + 0x54c]
call fcn.0040f90c
add eax, eax
lea edx, [esp + 0x54e]
add eax, edx
mov edx, 0x49e698
call fcn.0040f920
lea eax, [esp + 0x54c]
call fcn.0040f90c
mov word [esp + eax*2 + 0x54e], 0
lea edx, [esp + 0x74c]
mov ecx, 0x10000000
mov eax, dword [ebx + 0x30]
call fcn.0040f890
lea eax, [esp + 0x54c]
lea edx, [esp + 0x74c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x30], edx
mov ecx, 0x49e69c
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 0x454470
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 0x456a1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov eax, 0x49e9b4
push ebx
push esi
push edi
call fcn.0048dbf8
cmp dword [0x4bc1b0], 0
je 0x456a49
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, edx
jmp 0x456b8d
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne cl
and ecx, 1
mov byte [0x4c1126], cl
cmp byte [0x4c1126], 0
jne 0x456a75
cmp dword [0x4bc1a8], 0
jne 0x456a75
xor ebx, ebx
jmp 0x456a7a
mov ebx, 1
push 8
call fcn.0048bd90
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x456aa2
mov word [ebp - 0x1c], 0x14
mov eax, dword [ebp - 4]
call fcn.00454ed8
mov word [ebp - 0x1c], 8
mov esi, dword [ebp - 4]
jmp 0x456aa5
mov esi, dword [ebp - 4]
push 0x4efc
call fcn.0048bd90
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x456ad2
mov word [ebp - 0x1c], 0x2c
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004544c0
mov word [ebp - 0x1c], 0x20
mov edi, dword [ebp - 8]
jmp 0x456ad5
mov edi, dword [ebp - 8]
mov byte [0x4c1125], 0
mov byte [0x4c1128], 0
lea eax, [ebp - 0x30]
mov byte [0x4c1124], 1
mov byte [0x4c1127], 0
push eax
test bl, bl
je 0x456b00
mov edx, 3
jmp 0x456b05
mov edx, 1
push edx
push esi
push edi
call sub.OLE32.DLL_DoDragDrop
mov ebx, eax
mov byte [0x4c1124], 0
push edi
mov eax, dword [edi]
call dword [eax + 8]
push esi
mov ecx, dword [esi]
call dword [ecx + 8]
cmp byte [0x4c1126], 0
je 0x456b4b
cmp dword [0x4bc1a8], 0
je 0x456b4b
cmp ebx, 0x40100
jne 0x456b4b
call fcn.00446374
mov eax, 0x4b9834
call fcn.0045fa58
cmp ebx, 0x40100
je 0x456b83
cmp byte [0x4c1127], 0
jne 0x456b83
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x3f0
je 0x456b83
mov eax, 0x53c
call fcn.004116e0
push eax
call fcn.0044a170
pop ecx
mov eax, 0x4a6984
call fcn.0042981c
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457015
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 esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dl, 1
mov eax, ebx
call fcn.0040bda0
mov edx, ebx
mov eax, ebx
call fcn.0040b688
mov ecx, 0x400
xor edx, edx
mov eax, ebx
call fcn.0040be24
jmp 0x45709c
test esi, 2
setne cl
push dword [ebp + 0x10]
and ecx, 1
lea eax, [ebp - 1]
push ecx
mov ecx, edi
mov edx, ebx
call fcn.004595a8
mov al, byte [ebp - 1]
sub al, 0x41
je 0x457078
sub al, 2
je 0x457095
sub al, 0xb
je 0x457095
sub al, 0xb
je 0x457078
jmp 0x45709c
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
test esi, 1
jne 0x45708e
push ebx
call sub.KERNEL32.DLL_DeleteFileA
mov eax, 0x59
jmp 0x4570ac
xor eax, eax
mov al, byte [ebp - 1]
jmp 0x4570ac
push ebx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x457047
mov eax, 0x59
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x4580f0
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 0x45811f
xor eax, eax
jmp 0x4582bf
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 + 0x48]
push ecx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a0], eax
lea eax, [ebp + 0x54]
push eax
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a4], eax
lea edx, [ebp + 0x5c]
push edx
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebx + 0x4a8], eax
cmp dword [ebx + 0x490], 0
je 0x4581bf
cmp dword [ebx + 0x494], 0
jne 0x4581c6
xor eax, eax
jmp 0x4582bf
push 0x84
push 0
push edi
call fcn.0048d5d8
add esp, 0xc
mov dword [edi], 0x84
mov dword [edi + 4], 0x456e3c
mov dword [edi + 8], 0x456f77
mov dword [edi + 0xc], 0x456f8a
mov dword [edi + 0x10], 0x456f9f
mov dword [edi + 0x14], 0x456ffe
mov dword [edi + 0x18], 0x4570b4
mov dword [edi + 0x1c], 0x4570c8
mov dword [edi + 0x20], 0x4570d3
mov dword [edi + 0x24], 0x457162
mov dword [edi + 0x28], 0x457204
mov dword [edi + 0x2c], 0x4572a6
mov dword [edi + 0x30], 0x457532
mov dword [edi + 0x34], 0x457541
mov dword [edi + 0x38], 0x4575ce
mov dword [edi + 0x3c], fcn.00457015
mov dword [edi + 0x40], 0x457660
mov dword [edi + 0x44], 0x45767c
push 0x88
push 0
lea edx, [ebx + 0x408]
push edx
call fcn.0048d5d8
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 0x4582bd
push dword [ebx + 0x404]
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
mov dword [ebx + 0x404], eax
lea eax, [ebx + 4]
call fcn.0040b578
push eax
mov eax, 0x42e
call fcn.004116e0
push eax
call fcn.0044a170
add esp, 8
xor eax, eax
jmp 0x4582bf
mov al, 1
add esp, 0x84
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4591c4
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, 0x49ec4c
mov byte [ebx], 0
mov eax, 0x49ec46
push 0x49eba5
push 0x400
lea ecx, [esp + 8]
call fcn.004657f4
cmp byte [esp], 0
je 0x45924f
push esp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x459209
push esp
push 0x400
call sub.KERNEL32.DLL_GetTempPathA
mov edx, 0x49ec57
mov eax, 0x49ec46
mov ecx, 1
call fcn.004659b8
test eax, eax
je 0x45923e
push 0
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 2
je 0x459232
cmp eax, 5
jne 0x459248
push esp
push ebx
call fcn.0048d758
add esp, 8
jmp 0x459248
push esp
push ebx
call fcn.0048d758
add esp, 8
mov eax, ebx
call fcn.0040ba60
add esp, 0x400
pop ebx
ret
Function at 0x45ec04
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 0x45edf5
mov edi, dword [ebx + eax*4 + 0x49c]
xor eax, eax
mov dword [esp], eax
test edi, edi
je 0x45edf5
push esp
push 0x20
push dword [ebx]
push edi
mov edx, dword [edi]
call dword [edx + 0x10]
test eax, eax
jne 0x45edf5
cmp dword [esp], 0
je 0x45edf5
xor ecx, ecx
xor ebp, ebp
mov dword [esp + 4], ecx
jmp 0x45edce
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 0x45ec9a
lea eax, [esp + 0x10]
xor ecx, ecx
push eax
mov eax, edi
mov edx, dword [esp + 8]
call fcn.00464c7c
test eax, eax
jne 0x45ecaf
push dword [esp + 4]
mov edx, dword [0x4c3174]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
jmp 0x45edce
mov eax, dword [ebx + 0x520]
mov edx, dword [esp + 4]
mov eax, dword [ebx + eax*4 + 0x41c]
call fcn.00464bec
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 [0x4c3174]
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.0048d5d8
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.0048d758
add esp, 8
mov eax, 0x4c244c
mov dword [esp + 0x11a8], 0x10
lea edx, [esp + 0x598]
call fcn.00464ec8
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 0x45ec63
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 0x45fedc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff004
mov esi, 0x49f824
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.00465810
cmp byte [esp + 4], 0
je 0x45ff27
lea ecx, [esp + 4]
push ecx
push edi
call fcn.0048d758
add esp, 8
push ebx
lea eax, [esi + 0x97]
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.00490628
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.00465810
test al, al
jne 0x460026
push ebx
lea edx, [esi + 0xa6]
push edx
lea ecx, [esp + 0x10c]
push ecx
call fcn.00490628
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.00465810
test al, al
jne 0x45ffb4
xor eax, eax
jmp 0x4600a7
xor edx, edx
mov dl, byte [esp + 0xa30]
cmp edx, 0x22
jne 0x45ffcb
lea ecx, [esp + 0xa31]
jmp 0x45ffd2
lea ecx, [esp + 0xa30]
push ecx
lea eax, [esp + 0x234]
push eax
call fcn.0048d758
add esp, 8
push 0x22
lea edx, [esp + 0x234]
push edx
call fcn.0048d895
add esp, 8
test eax, eax
je 0x45fffc
mov byte [eax], 0
lea eax, [esi + 0xbc]
push eax
lea edx, [esp + 0x234]
push edx
call fcn.0048d8b9
add esp, 8
test eax, eax
je 0x46001a
mov byte [eax], 0
lea eax, [esp + 0x230]
call fcn.0040e664
lea edx, [esi + 0xbc]
push edx
lea ecx, [esp + 0x234]
push ecx
call fcn.0048d70c
add esp, 8
test eax, eax
jne 0x460045
xor eax, eax
jmp 0x4600a7
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.0048d8ad
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x460088
lea esi, [ebx + 1]
push esi
call fcn.00491f58
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 0x4617f0
Capabilities:
Copy file

Disassembly:
push ebx
add esp, 0xfffff004
push eax
add esp, 0xfffffc00
mov ebx, eax
cmp byte [0x4a6f94], 0
jne 0x461918
mov edx, esp
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d0fc
mov eax, esp
call fcn.0040b578
mov edx, str.rarkey
mov ecx, 6
call fcn.0040e640
test eax, eax
jne 0x461918
mov edx, 0x49fa0b
mov eax, ebx
call fcn.0045ee00
test eax, eax
jne 0x46185d
mov edx, str.rarreg.txt
mov eax, ebx
call fcn.0045ee00
test eax, eax
je 0x461918
lea edx, [esp + 0x800]
lea eax, [esp + 0x400]
call fcn.00448ef0
test al, al
je 0x461918
push 0x400
lea ecx, [esp + 0x1004]
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x49fa0b
lea eax, [esp + 0x1004]
call fcn.0040b578
push eax
call fcn.0048d758
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.0049038c
pop ecx
push dword [0x4b9820]
call sub.USER32.DLL_SetForegroundWindow
mov al, 1
call fcn.0040de2c
mov byte [0x4a6f94], al
mov eax, 0x4b9834
call fcn.0045fa58
cmp byte [0x4a6f94], 0
je 0x461918
push 0x30
mov eax, 0x368
call fcn.004116e0
push eax
mov eax, 0x367
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
add esp, 0x1400
pop ebx
ret

Function at 0x461920
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.0040a568
lea edx, [esp + 0x1000]
mov eax, ebp
call fcn.0040a5b0
push ebx
lea ecx, [esp + 4]
push ecx
call fcn.0048d758
add esp, 8
mov edx, 0x400
lea eax, [esp + 0x800]
call fcn.00468100
lea ecx, [esp + 0x400]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x800]
push eax
call fcn.0048d788
pop ecx
mov ecx, eax
lea eax, [esp + 0x800]
mov edx, ebx
call fcn.0040e640
test eax, eax
je 0x4619dc
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.0048d8ad
add esp, 8
mov esi, eax
test eax, eax
je 0x4619dc
mov edx, esp
cmp esi, edx
jbe 0x4619dc
mov al, byte [esi - 1]
xor edx, edx
mov dl, al
cmp edx, 0x3a
je 0x4619dc
cmp edx, 0x5c
je 0x4619dc
mov byte [esi], 0
push esp
call fcn.0048f15c
pop ecx
push 1
mov ecx, ebp
mov edx, ebx
mov eax, edi
call fcn.00461338
cmp eax, 0xffffffff
jne 0x461a05
push 1
lea ecx, [esp + 0x1004]
lea edx, [esp + 0xc04]
mov eax, edi
call fcn.00461338
cmp eax, 1
je 0x461a83
cmp eax, 2
je 0x461a71
inc eax
jne 0x461a30
push ebx
mov eax, 0x1f5
call fcn.004116e0
push eax
lea edx, [esp + 0x1808]
push edx
call fcn.00490628
add esp, 0xc
jmp 0x461a51
mov eax, 0x1fc
call fcn.004116e0
push eax
push ebx
push str._s_n_s
lea edx, [esp + 0x180c]
push edx
call fcn.00490628
add esp, 0x10
push 0x10
mov eax, 0x66
call fcn.004116e0
push eax
lea edx, [esp + 0x1808]
push edx
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
lea ecx, [esp + 0x400]
push ecx
call fcn.0048f15c
pop ecx
xor eax, eax
jmp 0x461a85
mov al, 1
add esp, 0x1e00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x461a90
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 0x49f848
push edi
call fcn.0048d70c
add esp, 8
test eax, eax
sete bl
and ebx, 1
cmp byte [esi + 0x41d], 0
je 0x461b11
xor eax, eax
test bl, bl
mov dword [esp], eax
je 0x461ad6
mov dword [esp], 1
push 0x49fa02
push edi
call fcn.0048d70c
add esp, 8
test eax, eax
jne 0x461af1
mov edx, dword [esi + 0x520]
mov dword [esp], edx
cmp dword [esp], 0
je 0x461b11
xor ecx, ecx
mov edx, dword [esp]
mov eax, esi
call fcn.00462f40
xor edx, edx
mov eax, esi
call fcn.0045e1dc
jmp 0x461cfc
mov eax, esi
call fcn.00463eb8
cmp dword [0x4bc1a8], 0
je 0x461c03
mov edx, str.FlatView
mov eax, 0x49f84b
xor ecx, ecx
call fcn.004659b8
test eax, eax
je 0x461b42
test bl, bl
je 0x461cfc
lea edx, [esp + 8]
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d0d0
push 0x49fa02
push edi
call fcn.0048d70c
add esp, 8
test eax, eax
je 0x461b95
mov eax, 0x4ba564
mov ecx, ebp
mov edx, edi
call fcn.0045cfe4
test eax, eax
je 0x461b95
test bl, bl
je 0x461b87
lea eax, [esp + 8]
call fcn.0040b578
mov edx, eax
jmp 0x461b89
xor edx, edx
mov eax, esi
call fcn.0045ef84
jmp 0x461cfc
lea edx, [esp + 0x408]
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d0fc
lea eax, [esp + 0x408]
push eax
lea edx, [esp + 0x80c]
push edx
call fcn.0048d758
add esp, 8
lea eax, [esp + 0x808]
call fcn.0040bb00
lea eax, [esp + 0x808]
xor edx, edx
call fcn.0046817c
mov eax, esi
call fcn.004639fc
test al, al
je 0x461cfc
lea eax, [esp + 0x408]
call fcn.0040b578
mov edx, eax
mov eax, esi
call fcn.0045e1dc
jmp 0x461cfc
lea edx, [esp + 0xc08]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x461cc6
lea ecx, [esp + 0xc08]
push ecx
lea eax, [esp + 0x100c]
push eax
call fcn.0048d758
add esp, 8
lea edx, [esp + 0x1408]
lea eax, [esp + 0xc08]
call fcn.0040bfc4
lea eax, [esp + 0x1008]
call fcn.0040ba60
lea eax, [esp + 0x1408]
call fcn.0040ba60
lea edx, [esp + 0x1408]
lea eax, [esp + 0x1008]
call fcn.0040e61c
test eax, eax
jne 0x461cc6
cmp dword [esi + 0x520], 0
jle 0x461c89
mov byte [esi + 0x41d], 1
jmp 0x461cbb
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, 0x4b9834
mov edx, dword [esp + 4]
call fcn.00463e18
push dword [esp + 4]
mov ecx, dword [0x4c3174]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
mov eax, esi
call fcn.0045e1dc
jmp 0x461cfc
mov edx, ebp
mov eax, edi
call fcn.0046817c
test al, al
jne 0x461cdf
mov eax, 0x49fa02
xor edx, edx
call fcn.0046817c
test bl, bl
je 0x461cf3
lea eax, [esp + 0xc08]
call fcn.0040b578
mov edx, eax
jmp 0x461cf5
xor edx, edx
mov eax, esi
call fcn.0045e1dc
add esp, 0x1808
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x462618
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 0x462683
test ebx, ebx
jne 0x462683
test esi, esi
jne 0x462683
test eax, eax
je 0x462687
xor edx, edx
jmp 0x46268c
mov edx, 1
mov eax, edx
add esp, 0x14
pop esi
pop ebx
ret

Function at 0x462694
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.00468100
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.0048d5d8
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.004116e0
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