joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4713d5
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x578e8d
call fcn.0054dd47
mov edi, ecx
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
mov esi, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x704], ebx
setne al
test eax, eax
jne 0x471404
call fcn.004224b6
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x471532
sub eax, 1
je 0x47145c
sub eax, 1
je 0x471434
sub eax, 1
je 0x47145c
push 0x584f5c
mov ecx, esi
call fcn.00402a60
mov eax, esi
call fcn.0054dcf1
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push ebx
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47141e
lea eax, [ebp - 0x4e8]
push eax
jmp 0x471423
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x47141e
push ebx
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], ebx
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], ebx
push eax
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
call fcn.004389d9
test eax, eax
je 0x47141e
call fcn.004233b1
push eax
lea ecx, [ebp - 0x700]
call fcn.00422679
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], ebx
jne 0x4714f2
test byte [ebp - 0x428], 0x18
jne 0x47150a
mov eax, dword [edi]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov ecx, edi
push dword [ebp - 0x430]
call dword [eax + 0x1a0]
jmp 0x47150a
mov eax, dword [edi]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov ecx, edi
call dword [eax + 0x1a4]
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.004023f0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.00422c3b
jmp 0x47142a
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push ebx
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47141e
lea eax, [ebp - 0x6f0]
jmp 0x471459

Function at 0x4716e1
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004eac9a
call fcn.004249fc
cmp dword [eax + 0x14], 0
jne 0x4716fc
mov ecx, esi
pop esi
jmp fcn.00470ad3
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.00414dc0
call fcn.004249fc
cmp dword [eax + 0x14], 0
jne 0x4724ae
mov ecx, esi
pop esi
jmp fcn.00471d70
pop esi
ret
Function at 0x473ad1
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x178]
mov bx, word [ebp + 8]
mov edi, eax
push 2
movzx edx, bx
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x473b16
test edi, edi
js 0x473b16
cmp eax, 0x20
je 0x473b0b
cmp bx, 0x71
jne 0x473b16
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x190]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4906cf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
cmp eax, edx
ja 0x490878
je 0x4908a2
cmp eax, 0xa1
jb 0x4908e5
cmp eax, 0xa2
jbe 0x4908a2
cmp eax, 0xa3
jbe 0x4908e5
cmp eax, 0xa5
jbe 0x4908a2
cmp eax, 0xa6
jbe 0x4908e5
cmp eax, 0xa8
jbe 0x4908a2
cmp eax, 0x100
jne 0x4908e5
cmp dword [esi + 0xc0], 0xffffffff
je 0x4908a2
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4908a0
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x490800
sub eax, 1
jne 0x4908a0
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
add eax, ecx
lea edi, [ecx + 1]
jmp 0x4907b3
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x4907b9
mov eax, dword [esi + 0xbc]
inc edi
add eax, dword [esi + 0xc0]
cmp edi, eax
jl 0x490789
jmp 0x4907f8
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.004240e7
mov edx, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [edx + 0x270]
and dword [esi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x49090b
mov ecx, dword [esi + 0xc0]
lea edi, [ecx - 1]
add edi, dword [esi + 0xbc]
cmp edi, ecx
jle 0x4907f8
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x49083b
dec edi
cmp edi, dword [esi + 0xc0]
jg 0x490813
jmp 0x4907f8
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.004240e7
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [eax + 0x270]
jmp 0x4907f1
cmp eax, 0x200
jb 0x4908e5
cmp eax, 0x202
jbe 0x4908a2
cmp eax, 0x203
jbe 0x4908e5
cmp eax, 0x205
jbe 0x4908a2
add eax, 0xfffffdf9
cmp eax, 1
ja 0x4908e5
jmp 0x4908a2
xor ecx, ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4908c2
cmp dword [eax + 0x20], 0
je 0x4908c2
push edi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x4908e3
cmp dword [eax + 0x20], 0
je 0x4908e3
push edi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [edi + 4], 0x203
jne 0x490903
lea eax, [esi + 0x2250]
test eax, eax
je 0x4908fb
mov ecx, dword [eax + 0x20]
cmp dword [edi], ecx
je 0x4907f8
push edi
mov ecx, esi
call fcn.00489065
pop edi
pop esi
pop ebp
ret 4
Function at 0x49f6b3
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5e6044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x8000
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x49f6e5
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x49f710
cmp dword [0x5eddcc], 0
jne 0x49f710
lea ecx, [esi - 0x41]
cmp ecx, 0x19
jbe 0x49f703
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x49f707
mov eax, esi
jmp 0x49f783
push esi
call fcn.00564378
pop ecx
jmp 0x49f783
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0054f5e0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x49f795
call fcn.004326b4
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 esi
xor ecx, ebp
pop ebx
call fcn.0054d0e6
mov esp, ebp
pop ebp
ret 4
call fcn.004224b6
int3

Function at 0x4a32e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5e55a8], 0
push esi
je 0x4a33c5
cmp dword [0x5e5818], 0xfffffffe
jne 0x4a33b2
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x4a33c5
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5f12a0]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5ef3e0]
cmp eax, dword [ecx + 4]
jle 0x4a335c
mov ebx, 0x5ef3e0
push ebx
call fcn.0054d85b
cmp dword [0x5ef3e0], 0xffffffff
pop ecx
jne 0x4a335c
mov ecx, 0x5ef3c0
call fcn.00474565
push 0x58349c
call fcn.0054d72b
push ebx
call fcn.0054d81c
pop ecx
pop ecx
mov ebx, 0x5ef3c8
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5ef3ac], 0
jne 0x4a33c8
push 0
push 0
push 0x4a33ce
call fcn.00562638
add esp, 0xc
mov dword [0x5ef3ac], eax
test eax, eax
je 0x4a33a1
cmp eax, 0xffffffff
je 0x4a33a1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x5e5818], esi
jmp 0x4a33a8
and dword [0x5ef3ac], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
jmp 0x4a33c5
mov eax, dword [ebp + 8]
mov dword [0x5e5818], eax
inc eax
neg eax
sbb eax, eax
and dword [0x5ef3ac], eax
pop esi
pop ebp
ret
call fcn.004224b6
int3
Function at 0x4ab624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5e6044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00423c86
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.004292e9
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x4ab69c
cmp esi, 3
jne 0x4ab68b
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4ab69c
xor eax, eax
jmp 0x4ab6f1
cmp esi, 0xa
jl 0x4ab6a6
cmp esi, 0x11
jle 0x4ab6ab
cmp esi, 4
jne 0x4ab6ef
test edi, 0x800
je 0x4ab6b8
push 2
pop eax
jmp 0x4ab6f1
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x4ab6ef
mov eax, esi
sub eax, 4
je 0x4ab73c
sub eax, 9
je 0x4ab728
sub eax, 1
je 0x4ab718
dec eax
sub eax, 1
je 0x4ab704
sub eax, 1
je 0x4ab73c
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054d0e6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x4ab6f1
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x4ab6f1
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x4ab6f1
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x4ab6f1
Function at 0x4bc19e
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x57bcca
call fcn.0054dd7e
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
call fcn.00444ccc
test eax, eax
je 0x4bc33f
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebx + 4]
call fcn.004bc045
test eax, eax
je 0x4bc1e1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004233b1
push eax
lea ecx, [ebp - 0x18]
call fcn.00422679
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00422bb1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00424660
call fcn.004233b1
push eax
lea ecx, [ebp - 0x14]
call fcn.00422679
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00422bb1
mov esi, dword [ebp - 0x18]
push eax
push edi
push 0x5a682c
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00424660
push edi
push 0x4000100
push 2
push edi
push edi
mov edi, dword [ebp - 0x14]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x4bc279
lea ecx, [edi - 0x10]
call fcn.00422c3b
lea ecx, [esi - 0x10]
jmp 0x4bc33a
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042fe54
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.0043a5c6
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [ebx + 0x20], 1
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.0043ab83
and dword [ebx + 0x20], 0
lea ecx, [ebp - 0x88]
call fcn.0043a6d6
lea ecx, [ebp - 0x40]
call fcn.0042ff4b
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.00442033
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [edi - 0x10]
call fcn.00422c3b
lea ecx, [esi - 0x10]
call fcn.00422c3b
xor eax, eax
inc eax
jmp 0x4bc341
call fcn.00422c3b
xor eax, eax
call fcn.0054dcdc
ret 8
Function at 0x4e1a46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5e6044]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
jne 0x4e1a69
xor eax, eax
jmp 0x4e1b3f
cmp dword [ebp + 0xc], 0
je 0x4e1a62
xor ebx, ebx
call fcn.004249a8
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4e1a62
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4e1a62
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4e1b55
push eax
call fcn.00562180
inc eax
pop ecx
mov dword [ebp - 8], eax
lea edx, [eax + eax]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x4e1b0d
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
and eax, ecx
lea ecx, [edx + 8]
cmp eax, 0x400
ja 0x4e1aef
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.0054d100
mov esi, esp
test esi, esi
je 0x4e1b55
mov dword [esi], 0xcccc
jmp 0x4e1b08
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.00556636
mov esi, eax
pop ecx
test esi, esi
je 0x4e1b55
mov dword [esi], 0xdddd
add esi, 8
jmp 0x4e1b0f
mov esi, ebx
test esi, esi
je 0x4e1b55
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call fcn.0042339a
test eax, eax
je 0x4e1b2f
mov ecx, dword [ebp - 0x10]
push eax
call fcn.004e33ea
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call fcn.004e3406
pop ecx
mov eax, ebx
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054d0e6
mov esp, ebp
pop ebp
ret 8
call fcn.004224b6
int3
Function at 0x504da4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x504dc3
or ecx, 0xffffffff
jmp 0x504dc9
mov ecx, dword [0x5e5980]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5e5c34
call fcn.00438bac
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x504e6d
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x504e6d
test edi, edi
je 0x504e1e
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x5e5b5c
call fcn.00438bac
pop ecx
pop ecx
mov ebx, eax
jmp 0x504e20
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x504e78
test ebx, ebx
je 0x504e59
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x504e6d
cmp dword [ebp - 4], 0
je 0x504e59
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x504e6f
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x504e6d
test edi, edi
je 0x504e6d
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x504e6d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x504e6d
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x504e6f
Function at 0x506c46
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x5f12a0]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x5f05b8]
cmp eax, dword [edx + 4]
jle 0x506ca1
mov esi, 0x5f05b8
push esi
call fcn.0054d85b
cmp dword [0x5f05b8], 0xffffffff
pop ecx
jne 0x506ca1
call fcn.004233b1
push eax
mov ecx, 0x5f05b4
call fcn.00422679
push 0x583624
call fcn.0054d72b
push esi
call fcn.0054d81c
pop ecx
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x506d43
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x506d3a
cmp dword [eax + 0x20], 0
je 0x506d3a
test eax, eax
je 0x506cc7
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x506d3a
mov eax, dword [edi + 4]
sub eax, 1
je 0x506d0e
sub eax, 1
je 0x506ce4
sub eax, 1
jne 0x506d3a
mov esi, 0x428e
jmp 0x506d13
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x506d13
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x340]
test eax, eax
je 0x506d13
add esi, 3
jmp 0x506d13
mov esi, 0x3ea0
push esi
call fcn.004245cb
test eax, eax
je 0x506d43
push esi
push eax
mov ecx, 0x5f05b4
call fcn.00403920
test eax, eax
je 0x506d43
mov eax, dword [0x5f05b4]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x506d3c
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call fcn.004224b6
int3
Function at 0x531cfc
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x581e88
call fcn.0054dd47
mov ebx, ecx
mov dword [ebp - 0x230], ebx
call fcn.005206f0
push 0x1c4
call fcn.00422419
pop ecx
mov dword [ebp - 0x22c], eax
and dword [ebp - 4], 0
test eax, eax
je 0x531d3f
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.0053e0de
jmp 0x531d41
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0051fb3a
call fcn.004249a8
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x8c]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call fcn.00562158
mov esi, eax
pop ecx
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
mov dword [ebp - 0x22c], esi
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x531f58
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x228], eax
test edi, edi
je 0x531f52
xor ebx, ebx
cmp dword [edi + 4], eax
jle 0x531f52
call fcn.004233b1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00422679
mov eax, dword [edi]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x218]
push esi
push ecx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x531f36
push 0x5a1550
mov esi, 0x5a1558
lea ecx, [ebp - 0x21c]
push esi
call fcn.00403e20
push esi
push 0x59a780
lea ecx, [ebp - 0x21c]
call fcn.00403e20
push esi
push 0x5a1550
lea ecx, [ebp - 0x21c]
call fcn.00403e20
call fcn.004233b1
push eax
lea ecx, [ebp - 0x220]
call fcn.00422679
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x531e6c
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__Ts
push eax
call fcn.00402630
add esp, 0xc
jmp 0x531e9e
jge 0x531e8c
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__Ts
push eax
call fcn.00402630
add esp, 0x10
jmp 0x531e9e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402030
push 0x1c4
call fcn.00422419
pop ecx
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x531ec8
mov ecx, eax
call fcn.004f1552
mov ecx, eax
mov dword [ebp - 0x224], eax
jmp 0x531ed0
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x220]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x224]
lea eax, [ebx + 0xe110]
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push ebx
mov ecx, edi
call fcn.0043563e
mov ecx, dword [ebp - 0x224]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.0051fb3a
inc dword [ebp - 0x228]
lea ecx, [esi - 0x10]
call fcn.00422c3b
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00422c3b
inc ebx
cmp ebx, dword [edi + 4]
jl 0x531dc1
call fcn.0054dcf1
ret
call fcn.0054dc00
int3
Function at 0x53a1b0
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x57bd58
call fcn.0054dd13
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x53a296
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x53a296
cmp edi, 0x43
je 0x53a1f5
cmp edi, 0x2d
jne 0x53a296
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x53a296
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.004233b1
push eax
lea ecx, [ebp + 8]
call fcn.00422679
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 + 8]
push 0x5ba4c8
push eax
call fcn.00402630
mov esi, dword [ebp + 8]
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.00422c3b
mov esi, dword [ebp - 0x10]
push ebx
mov ecx, esi
call fcn.0042fe28
call fcn.0054dcdc
ret 4

Function at 0x56e422
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056e0e2