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

Disassembly:
push 0x270
mov eax, 0x56da8f
call fcn.005140b0
mov esi, ecx
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 0x278]
call fcn.0040b58f
xor ebx, ebx
push ebx
push 0x57be6c
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], ebx
call fcn.00437538
cmp eax, 0xffffffff
jne 0x49e778
push ebx
push 0x5819e4
lea ecx, [ebp - 0x278]
call fcn.00437538
cmp eax, 0xffffffff
jne 0x49e778
push ebx
push 0x5819e0
lea ecx, [ebp - 0x278]
call fcn.00437538
cmp eax, 0xffffffff
jne 0x49e778
push edi
lea ecx, [ebp - 0x27c]
call fcn.0040b58f
mov edi, dword [ebp - 0x27c]
push ebx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ebx
push edi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x49e75b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.00401188
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00401188
mov eax, esi
call fcn.00514133
ret
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.0040559f
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00401188
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push ebx
push dword [ebp - 0x278]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x49e7a2
mov esi, dword [ebp - 0x274]
jmp 0x49e745
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
jmp 0x49e745

Function at 0x4aa0fe
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x56e1d4
call fcn.00514047
xor edi, edi
cmp dword [0x5ca364], edi
je 0x4aa1c7
cmp dword [0x5cb9a4], 0xfffffffe
jne 0x4aa1b4
cmp dword [ebp + 8], 0xffffffff
je 0x4aa1c7
test byte [0x5d2dfc], 1
mov esi, 0x5d2ddc
jne 0x4aa15d
or dword [0x5d2dfc], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004266e6
push 0x574ef0
call fcn.0051532a
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.0042673d
cmp dword [0x5d2dd8], edi
je 0x4aa171
call fcn.004308a9
push edi
push edi
push 0x4aa0a6
call fcn.00519aa2
add esp, 0xc
mov dword [0x5d2dd8], eax
cmp eax, edi
jbe 0x4aa1a1
cmp eax, 0xffffffff
je 0x4aa1a1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x5cb9a4], eax
jmp 0x4aa1a7
mov dword [0x5d2dd8], edi
push 0x5d2de4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4aa1c7
mov eax, dword [ebp + 8]
mov dword [0x5cb9a4], eax
cmp eax, 0xffffffff
jne 0x4aa1c7
mov dword [0x5d2dd8], edi
call fcn.0051411f
ret
Function at 0x4ac6cc
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5cd81c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.004ac18c
mov ebx, eax
cmp ebx, esi
je 0x4ac739
lea ecx, [ebp - 0x10c]
call fcn.004ac113
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00514038
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x4ac757
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004ac6cc
cmp eax, esi
jne 0x4ac79e
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], pe_nt_image_headers32
call ebx
test eax, eax
je 0x4ac741
lea ecx, [ebp - 0x10c]
call fcn.004ac113
push dword [ebp - 0x114]
mov ecx, edi
call fcn.004ac0b4
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.004ac113
mov eax, esi
jmp 0x4ac728

Function at 0x4b7f41
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x56ecb1
call fcn.00514047
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004056cc
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4b7fa3
call fcn.00430b8a
cmp eax, 1
jne 0x4b7fa3
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0044b20f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416684
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401188
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401188
mov eax, esi
call fcn.0051411f
ret 0x10

Function at 0x4b7fcc
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x56ecb1
call fcn.00514047
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004056cc
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4b802e
call fcn.00430b8a
cmp eax, 1
jne 0x4b802e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0044b20f
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416684
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401188
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401188
mov eax, esi
call fcn.0051411f
ret 0x14
Function at 0x4cb288
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x56f8e7
call fcn.0051407a
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
call fcn.0041cdad
test eax, eax
je 0x4cb457
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
lea ecx, [esi + 4]
xor edi, edi
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
call fcn.004cb023
test eax, eax
je 0x4cb2ce
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00402270
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.0040228e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040db50
lea ecx, [ebp - 0x14]
call fcn.00402270
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0040228e
push eax
push edi
push 0x592200
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040db50
push edi
push 0x4000100
push 2
push edi
push edi
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x4cb441
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004cb938
push edi
push 0x1000
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00460408
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [eax + 0x20], ebx
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 4
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.0045fddc
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0x20], edi
mov byte [ebp - 4], 3
call fcn.004603ca
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004cbacd
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.004cb180
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], esi
call fcn.00401188
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401188
mov eax, ebx
jmp 0x4cb459
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401188
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401188
xor eax, eax
call fcn.0051411f
ret 8
Function at 0x4ccf98
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x20
push ebx
mov ebx, ecx
jne 0x4ccfe9
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 0x17
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.004cc96c
mov ecx, ebx
call fcn.004ccf10
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
jmp 0x4cd03f
xor eax, eax
cmp dword [ebx + 0x2e4], eax
jne 0x4cd004
cmp dword [ebp + 0xc], 0x79
je 0x4ccfff
cmp dword [ebp + 0xc], 0x12
jne 0x4cd03f
xor eax, eax
inc eax
jmp 0x4cd03f
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
movzx edi, ax
shr edi, 0xf
push 0x10
and edi, 1
call esi
mov esi, dword [ebp + 0xc]
shr eax, 0xf
and eax, 1
cmp esi, 0x12
je 0x4cd044
cmp esi, 0x79
je 0x4cd044
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x5d1858], 0
jne 0x4cd03b
test byte [ebx + 0x2f4], 2
jne 0x4cd03b
cmp esi, 0x12
je 0x4cd068
cmp esi, 0x79
jne 0x4cd03b
test edi, edi
jne 0x4cd03b
test eax, eax
jne 0x4cd03b
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00411bdf
cmp eax, ebx
jne 0x4cd08b
test dword [ebp + 0x10], 0x40000000
jne 0x4cd08b
cmp esi, 0x79
jne 0x4cd099
mov ecx, dword [ebp + 8]
jmp 0x4cd092
cmp esi, 0x79
jne 0x4cd099
mov ecx, ebx
call fcn.00416b99
jmp 0x4cd0b4
cmp dword [ebx + 0x2a0], 0
jge 0x4cd0b4
push 0
push 0xc8
push 2
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
jmp 0x4cd03d
Function at 0x4ce461
Capabilities:
Get graphical window text

Disassembly:
push 0x168
mov eax, 0x56fabe
call fcn.005140b0
mov esi, ecx
lea ebx, [esi + 0x74]
xor edi, edi
push edi
mov ecx, ebx
call fcn.0040a5cc
mov ecx, ebx
call fcn.0045e109
push ebx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x118], edi
call fcn.00432539
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00488249
push eax
lea ecx, [ebp - 0x13c]
call fcn.004328ae
lea ecx, [esi + 0xd4]
mov dword [ebp - 0x120], eax
mov dword [esi + 0xd0], 1
call fcn.0047eb1b
lea ecx, [esi + 0xf0]
call fcn.0047eb1b
mov eax, dword [esi + 0xc8]
push 5
push dword [eax + 0xe8]
jmp 0x4ce64b
push edi
call fcn.00411bdf
push eax
push 0x57c210
call fcn.0042fa3d
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
test eax, eax
je 0x4ce648
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1b4]
test eax, eax
je 0x4ce648
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
call fcn.00404cad
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004056cc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00404eef
mov ecx, dword [ebp - 0x11c]
mov eax, dword [eax]
add ecx, 0xfffffff0
mov dword [ebp - 0x128], eax
call fcn.00401188
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x118], eax
jg 0x4ce596
mov dword [ebp - 0x118], eax
push edi
push dword [ebp - 0x124]
mov ecx, ebx
call fcn.0042edb8
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
call dword [eax + 0x1b8]
test eax, eax
je 0x4ce5c2
push edi
lea ecx, [esi + 0xf0]
call fcn.0048a3f2
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x80000
je 0x4ce5e5
push 0
push edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x4ce5ee
and dword [esi + 0xd0], 0
jmp 0x4ce648
push 0x30
lea eax, [ebp - 0x174]
push 0
push eax
call fcn.00515ac0
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
push 0
push 0xf060
push dword [ebp - 0x114]
mov dword [ebp - 0x174], 0x30
mov dword [ebp - 0x170], 1
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x4ce63c
test byte [ebp - 0x168], 3
je 0x4ce648
push edi
lea ecx, [esi + 0xd4]
call fcn.0048a3f2
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4ce4e7
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x118]
lea eax, [eax + ecx + 0x1e]
push eax
mov ecx, ebx
call fcn.00404c96
push dword [ebp - 0x120]
lea ecx, [ebp - 0x13c]
call fcn.004328ae
push 1
mov ecx, ebx
call fcn.0040a5cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0043258d
call fcn.00514133
ret
Function at 0x4d8afa
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4d8b44
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d8b44
call fcn.0048833f
test eax, eax
je 0x4d8b44
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.0040a5b1
xor eax, eax
inc eax
jmp 0x4d8d5c
cmp dword [ebx + 4], 0x100
push edi
jne 0x4d8d53
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4d8c41
push 0x11
call edi
test ax, ax
jl 0x4d8c41
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d8c41
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4d8bb4
cmp eax, 0x20
jbe 0x4d8c41
cmp eax, 0x24
jbe 0x4d8ba7
cmp eax, 0x26
je 0x4d8ba7
cmp eax, 0x28
jne 0x4d8c41
call fcn.0048833f
test eax, eax
je 0x4d8c41
mov ecx, esi
call fcn.00416b99
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.0048833f
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4d8be9
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0040a5b1
jmp 0x4d8d4e
call fcn.0040208f
test eax, eax
je 0x4d8d4e
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.00412fef
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4d8c17
xor edi, edi
jmp 0x4d8c1a
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.0040208f
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4d8d4e
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4d8d1d
sub eax, 0x12
je 0x4d8cf5
sub eax, 0xb
je 0x4d8c63
dec eax
dec eax
jne 0x4d8d53
push 0x12
call edi
test ax, ax
jl 0x4d8d53
push 0x11
call edi
test ax, ax
jl 0x4d8d53
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d8d53
call fcn.0048833f
test eax, eax
jne 0x4d8d4e
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.00488306
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00411bdf
test eax, eax
je 0x4d8d4e
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00411bdf
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4d8d4e
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4d8d09
push 0
call fcn.00488306
mov ecx, esi
call fcn.004126ff
test eax, eax
je 0x4d8d53
mov ecx, esi
call fcn.004126ff
jmp 0x4d8d47
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00411bdf
test eax, eax
je 0x4d8d53
push dword [esi + 0x20]
call edi
push eax
call fcn.00411bdf
push 0
push esi
mov ecx, eax
call fcn.0044b8ef
mov ecx, eax
call fcn.00416b99
xor eax, eax
inc eax
jmp 0x4d8d5b
push ebx
mov ecx, esi
call fcn.0040faa4
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4de870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4de888
mov edi, dword [esi + 0xc]
jmp 0x4de8c8
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4de8a1
call fcn.00431e28
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4de8b6
call fcn.00431e28
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4de8c8
call fcn.00431e28
call fcn.004312b0
cmp dword [eax + 0x3c], 0
je 0x4de8dd
push edi
mov ecx, ebx
call fcn.004dd75d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004de796
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4de8fb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4de907
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4f6741
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x57197b
call fcn.005140b0
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.00502474
push 0x15c
call fcn.0040a21e
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4f6785
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.00503f09
jmp 0x4f6787
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.00502446
call fcn.004312b0
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x4f6921
cmp dword [edi + 4], ebx
jle 0x4f6921
lea ecx, [ebp - 0x118]
call fcn.00402270
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4f6905
lea ecx, [ebp - 0x11c]
call fcn.00402270
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4f6856
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x599300
push eax
call fcn.00402307
add esp, 0xc
jmp 0x4f6888
jge 0x4f6876
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.00402307
add esp, 0x10
jmp 0x4f6888
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00416684
push 0x15c
call fcn.0040a21e
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4f68ac
mov ecx, eax
call fcn.004bceed
mov esi, eax
jmp 0x4f68ae
xor esi, esi
push dword [ebp - 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0044b68d
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.00502446
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00401188
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401188
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4f67ef
call fcn.00514133
ret
Function at 0x4fe04d
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x44
mov eax, 0x572235
call fcn.005140b0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
call fcn.00402270
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, 0x13
jne 0x4fe07b
push str.Pause
jmp 0x4fe0be
push 0x33
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00515ac0
add esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x4fe0ad
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040559f
lea ecx, [ebp - 0x48]
call fcn.0043806c
mov esi, dword [ebp - 0x48]
xor edi, edi
cmp dword [esi - 0xc], ebx
jle 0x4fe116
push edi
lea ecx, [ebp - 0x48]
call fcn.004221f9
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_IsCharLowerA]
test eax, eax
jne 0x4fe0f9
inc edi
cmp edi, dword [esi - 0xc]
jl 0x4fe0d8
jmp 0x4fe116
movsx eax, byte [ebp - 0x4c]
push eax
call fcn.00519975
pop ecx
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push edi
call fcn.004d11c3
mov esi, dword [ebp - 0x48]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x50]
push esi
call fcn.0040e302
cmp dword [ebp + 0x10], ebx
jne 0x4fe131
mov ecx, dword [ebp - 0x50]
push 0x2b
call fcn.00412fa1
lea ecx, [esi - 0x10]
call fcn.00401188
call fcn.00514133
ret 0xc

Function at 0x50773d
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x56de35
call fcn.00514047
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x507813
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x507813
cmp ebx, 0x43
je 0x50777f
cmp ebx, 0x2d
jne 0x507813
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x507813
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00402270
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.00402307
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
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.00401188
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.004c8db9
call fcn.0051411f
ret 4