joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e041
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x5a461c
call fcn.0057bb80
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x44e143
cmp edi, dword [ebx + 0xc]
jge 0x44e143
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x44e098
cmp edi, dword [esi + 8]
jl 0x44e131
cmp dword [ebp + 0xc], 0
je 0x44e131
xor edi, edi
jmp 0x44e0ca
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.0044db25
mov esi, eax
test esi, esi
je 0x44e0b2
mov dword [esi], vtable.CThreadData.0
jmp 0x44e0b4
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov dword [esi + ecx], eax
mov dword [ebx + 0x14], esi
cmp dword [esi + 0xc], edi
jne 0x44e0e5
push 4
push dword [ebx + 0xc]
call fcn.0043b224
pop ecx
pop ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x44e0fd
push 2
push 4
push dword [ebx + 0xc]
call fcn.0043b224
pop ecx
pop ecx
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x44e16a
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.0057e070
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x44e143
cmp edi, dword [esi + 8]
jge 0x44e143
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0057bade
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043af09
int3

Function at 0x45243d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x452493
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45246c
call fcn.0043c12b
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x452481
call fcn.0043c12b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x452493
call fcn.0043c12b
call fcn.0043e750
cmp dword [eax + 0x3c], 0
je 0x4524a8
push edi
mov ecx, ebx
call fcn.00451b6d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0045268e
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4524d1
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4524dd
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x454bd4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0043d148
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x454c10
call fcn.00454def
mov dword [esi + 0xc], 1
jmp 0x454c15
call fcn.00454def
cmp dword [esi], 0
je 0x454c5e
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x454c38
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00435099
jmp 0x454c49
push 0xff
mov ecx, esi
call fcn.0041f6e0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043773c
jmp 0x454c82
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x454c82
push dword [esi]
push dword [ebp - 4]
call fcn.004505e3
pop esi
leave
ret 0xc

Function at 0x454d46
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00454def
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x454d8e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00435099
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0043773c
jmp 0x454d99
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004505e3
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x45fc1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x45fc35
call fcn.0043e750
mov esi, dword [eax + 0xc]
push 0x5b8af0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x45fc77
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45fc77
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45fc77
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0045fc80
jmp 0x45fc79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4744bc
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x611004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x4744eb
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x474518
cmp dword [0x618a24], 0
jne 0x474518
lea eax, [esi - 0x41]
cmp eax, 0x19
jbe 0x474514
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x474514
push esi
call fcn.0058cb82
pop ecx
jmp 0x47458b
mov eax, esi
jmp 0x47458b
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0057e070
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x47459b
call fcn.004458c4
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057b447
leave
ret 4
call fcn.0043aeef
int3
Function at 0x48d81c
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x5a6f43
call fcn.0057bb49
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x48d9e3
test ebx, ebx
je 0x48d9e3
lea ecx, [ebp - 0x268]
mov esi, 0x104
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x48d88c
push 0xffffffffffffffff
push ebx
push esi
push dword [ebp - 0x264]
call fcn.00588bd2
push eax
call fcn.0042d2f0
add esp, 0x14
push ebx
push edi
call fcn.0048d7da
xor eax, eax
call fcn.0057baf3
ret 0xc
cmp eax, esi
jb 0x48d8ae
test edi, edi
je 0x48d882
push ebx
mov dword [edi + 8], 3
call fcn.0058858c
pop ecx
push eax
push ebx
lea ecx, [edi + 0x10]
call fcn.00432350
jmp 0x48d882
call fcn.0043b42c
push eax
lea ecx, [ebp - 0x26c]
call fcn.0041f360
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x264]
call fcn.0048d146
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x48d9ae
xor ecx, ecx
lea eax, [ebp - 0x270]
push ecx
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x48d91e
push ebx
push edi
call fcn.0048d7da
lea ecx, [esi - 0x10]
call fcn.0041f550
jmp 0x48d882
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x48d93a
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x48d9ae
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x48d9ae
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x48d90a
cmp eax, dword [ebp - 0x264]
jbe 0x48d90a
lea eax, [ebp - 0x234]
push eax
call fcn.0058858c
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x48d9be
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.00588aa3
push eax
call fcn.0042d2f0
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.0041f550
xor eax, eax
inc eax
jmp 0x48d884
test edi, edi
je 0x48d911
push ebx
mov dword [edi + 8], 3
call fcn.0058858c
pop ecx
push eax
push ebx
lea ecx, [edi + 0x10]
call fcn.00432350
jmp 0x48d911
call fcn.0043aeef
int3

Function at 0x4a4f89
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0
je 0x4a4fbf
call fcn.0042d4e0
test eax, eax
je 0x4a4fa1
mov eax, dword [eax + 0x20]
push 1
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x14]
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jb 0x4a4fbf
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4e6b9a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x4e6d2d
je 0x4e6d53
cmp eax, 0xa1
jb 0x4e6d91
cmp eax, 0xa2
jbe 0x4e6d53
cmp eax, 0xa3
jbe 0x4e6d91
cmp eax, 0xa5
jbe 0x4e6d53
cmp eax, 0xa6
jbe 0x4e6d91
cmp eax, 0xa8
jbe 0x4e6d53
cmp eax, 0x100
jne 0x4e6d91
cmp dword [edi + 0xc0], 0xffffffff
je 0x4e6d53
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4e6d53
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x4e6c82
sub eax, 1
jne 0x4e6d53
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x4e6c71
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
test eax, eax
jne 0x4e6cce
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x4e6c47
jmp 0x4e6dab
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x4e6dab
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
test eax, eax
jne 0x4e6cce
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x4e6c99
jmp 0x4e6dab
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0043da46
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x4e6dab
cmp eax, 0x200
jb 0x4e6d91
cmp eax, 0x202
jbe 0x4e6d53
cmp eax, 0x203
jbe 0x4e6d91
cmp eax, 0x205
jbe 0x4e6d53
add eax, 0xfffffdf9
cmp eax, 1
ja 0x4e6d91
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x4e6d72
cmp dword [eax + 0x20], ebx
je 0x4e6d72
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4e6d91
cmp dword [eax + 0x20], ebx
je 0x4e6d91
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x4e6db0
lea eax, [edi + 0x2250]
test eax, eax
je 0x4e6da7
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x4e6db0
xor eax, eax
inc eax
jmp 0x4e6db8
push esi
mov ecx, edi
call fcn.004e1206
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x500824
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x5008d8
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x5008d4
mov eax, dword [eax + 0x20]
test eax, eax
je 0x5008d4
cmp dword [ebx], eax
jne 0x5008d4
mov eax, dword [ebx + 4]
sub eax, 1
je 0x5008a3
sub eax, 1
je 0x500871
sub eax, 1
jne 0x5008d4
mov edi, 0x428e
jmp 0x5008a8
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x5008a8
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x5008a8
add edi, 3
jmp 0x5008a8
mov edi, 0x3ea0
push edi
call fcn.004493ea
test eax, eax
je 0x5008d8
push edi
push eax
mov ecx, 0x619e40
call fcn.00432120
test eax, eax
je 0x5008d8
mov eax, dword [0x619e40]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x5008cd
call fcn.0043aeef
int3
Function at 0x50f9e4
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x611004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.0057e070
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00588bd2
push eax
call fcn.0042d2f0
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x5bafd4]
je 0x50fb4e
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x50fb62
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x50fb62
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x50fa7d
mov eax, edi
jmp 0x50faac
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x50fa9a
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.0050f7df
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x50faa3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0050ef61
test eax, eax
je 0x50fad1
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.0050eb78
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x50fad5
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0050ef61
test eax, eax
je 0x50fafc
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.0050eb78
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x50fb00
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0050ef61
test eax, eax
je 0x50fb28
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.0050eb78
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x50fb2a
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x50fb3c
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x50fb4e
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057b447
leave
ret 4
xor eax, eax
jmp 0x50fb51
Function at 0x514eb7
Capabilities:
Get file system object information

Disassembly:
push 0x6f4
mov eax, 0x5ac505
call fcn.0057bb49
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x51504e
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x515020
sub eax, 1
je 0x514f36
sub eax, 1
je 0x514f0e
sub eax, 1
je 0x514f36
push 0x5e4c3c
mov ecx, edi
call fcn.00431e80
mov eax, edi
call fcn.0057baf3
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x514ef8
lea eax, [ebp - 0x4e8]
push eax
jmp 0x514efd
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x514ef8
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.0050fb66
test eax, eax
je 0x514ef8
call fcn.0043b42c
push eax
lea ecx, [ebp - 0x700]
call fcn.0041f360
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x514fd6
test byte [ebp - 0x428], 0x18
jne 0x514ff8
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x5b2a2c]
mov ecx, ebx
call esi
jmp 0x514ff8
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x5b2a2c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.004322b0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.0041f550
jmp 0x514f04
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x514ef8
lea eax, [ebp - 0x6f0]
jmp 0x514f33
call fcn.0043aeef
int3

Function at 0x5151e1
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0056b799
call fcn.0043e7a4
cmp dword [eax + 0x14], 0
jne 0x5151fc
mov ecx, esi
pop esi
jmp fcn.005144d9
pop esi
ret

Function at 0x5236d6
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00437292
call fcn.0043e7a4
cmp dword [eax + 0x14], 0
jne 0x5236f1
mov ecx, esi
pop esi
jmp fcn.00522f36
pop esi
ret
Function at 0x53fe56
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0058d3fa
pop ecx
test eax, eax
jne 0x53fe98
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00446828
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x53fe5e
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x56f758
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x5a5ff0
call fcn.0057bb15
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x56f83e
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x56f83e
cmp edi, 0x43
je 0x56f79d
cmp edi, 0x2d
jne 0x56f83e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x56f83e
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.0043b42c
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f360
movzx eax, byte [esi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 0xe5]
push eax
movzx eax, byte [esi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push 0x5dc138
push eax
call fcn.0041f840
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0041f550
mov esi, dword [ebp - 0x14]
push ebx
mov ecx, esi
call fcn.004f3f89
call fcn.0057bade
ret 4

Function at 0x592afc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00592972
Function at 0x4041c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40422a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040383c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402728
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404214
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404231
lea eax, [ebp - 0x10]
call fcn.004035f4
ret

Function at 0x405fe0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406019
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004036e4
jmp 0x406022
mov eax, ebx
mov edx, esi
call fcn.00403648
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40602c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40604d
mov al, byte [esp]
jmp 0x40604f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4066d4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40654c
mov eax, dword [0x4103a4]
cmp byte [eax], 0
je 0x406750
mov eax, dword [0x410300]
call fcn.004026c4
call fcn.004025ec
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004054d4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406798
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406786
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4102e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x411660]
call fcn.00403c14
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407144
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4071a8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040383c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004053a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4071af
lea eax, [ebp - 0xc]
call fcn.004035f4
ret