joyce8/EMBER2024-capa huggingface dataset:
Function at 0x104fe53
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10687d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push esi
push ecx
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.0104fddc
test eax, eax
jl 0x104fece
cmp byte [ebp + 0xc], 0
je 0x104fec1
push dword [ebp + 8]
call fcn.0104fc8b
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
push 0x1018ce4
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0104fe18
add esp, 0x18
test eax, eax
jl 0x104fece
lea eax, [ebp - 0x804]
jmp 0x104fec7
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0104f2d3
leave
ret 0x10

Function at 0x104fee2
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x10687d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.0104fddc
test eax, eax
jl 0x104ff5c
cmp byte [ebp + 0xc], 0
je 0x104ff4f
push dword [ebp + 8]
call fcn.0104fc8b
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
push 0x1018ce4
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0104fe18
add esp, 0x18
test eax, eax
jl 0x104ff5c
lea eax, [ebp - 0x804]
jmp 0x104ff55
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0104f2d3
leave
ret
Function at 0x1050188
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4b8
mov eax, dword [0x10687d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, 0x24c
push esi
lea eax, [ebp - 0x250]
push edi
push eax
mov dword [ebp - 0x4b8], ebx
mov dword [ebp - 0x4b0], edi
mov dword [ebp - 0x4ac], edi
mov dword [ebp - 0x254], edi
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x4a0]
push edi
push eax
mov dword [ebp - 0x4a4], edi
call sub.msvcrt.dll_memset
add esp, 0x18
push ebx
lea eax, [ebp - 0x4b0]
push eax
call fcn.0105e587
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jge 0x1050219
push ebx
push 0x1018fb8
push 1
push eax
push 0x4000000
call fcn.01050085
add esp, 0x14
jmp 0x105039b
push 0x1018f94
lea eax, [ebp - 0x4b0]
push eax
call fcn.0105e2c7
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jge 0x105024e
push 0x1018f54
push 1
push eax
push 0x4000000
call fcn.01050085
add esp, 0x10
jmp 0x105039b
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x4b0]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4b4], eax
cmp eax, 0xffffffff
je 0x105039b
test byte [ebp - 0x254], 0x10
jne 0x10502ad
cmp ebx, edi
je 0x1050297
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x10502ac
mov ecx, 0x94
lea esi, [ebp - 0x254]
lea edi, [ebp - 0x4a4]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
inc ebx
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x4b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1050272
cmp ebx, 5
jbe 0x105038f
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4ac]
push 0x1003e48
push eax
call fcn.0105e67d
add esp, 0x10
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jl 0x1050339
push dword [ebp - 0x4ac]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1050343
push dword [ebp - 0x4b4]
dec ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x4ac], edi
je 0x105032e
push dword [ebp - 0x4ac]
call fcn.0105e0e7
mov dword [ebp - 0x4ac], edi
cmp ebx, 5
ja 0x105024e
jmp 0x105039b
push 0x1018f20
push 1
push eax
jmp 0x1050382
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jle 0x1050363
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], edi
jl 0x1050375
mov dword [ebp - 0x4a8], 0x80004005
push 0x1018ef8
push 1
push dword [ebp - 0x4a8]
push 0x4000000
call fcn.01050085
add esp, 0x10
push dword [ebp - 0x4b4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x4b0], edi
je 0x10503ae
push dword [ebp - 0x4b0]
call fcn.0105e0e7
cmp dword [ebp - 0x4ac], edi
pop edi
pop esi
pop ebx
je 0x10503c4
push dword [ebp - 0x4ac]
call fcn.0105e0e7
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4a8]
xor ecx, ebp
call fcn.0104f2d3
leave
ret 4
Function at 0x105dfa8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0xc], edi
je 0x105e01c
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test byte [ebp + 0x10], 1
je 0x105e002
cmp eax, 2
je 0x105dfed
cmp eax, 3
jne 0x105e002
cmp eax, edi
jle 0x105dffb
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x105e0ac
cmp eax, edi
je 0x105e022
jle 0x105e012
and eax, 0xffff
or eax, 0x80070000
push dword [ebp + 0xc]
push 0x102f8a4
jmp 0x105e06c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test byte [ebp + 0x10], 1
je 0x105e054
cmp eax, 2
jne 0x105e054
mov ebx, 0x80070002
jmp 0x105e0ac
cmp eax, edi
je 0x105e080
jle 0x105e064
and eax, 0xffff
or eax, 0x80070000
push dword [ebp + 0x14]
push 0x102f8d4
mov ebx, eax
push 1
push ebx
push 0x4000000
call fcn.01050085
add esp, 0x14
jmp 0x105e0ac
cmp dword [ebp - 0xc], 4
je 0x105e0a4
push 0x102fa20
mov eax, 0x8007000d
push 1
push eax
push 0x4000000
mov ebx, eax
call fcn.01050085
add esp, 0x10
jmp 0x105e0ac
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp + 0xc], edi
je 0x105e0bf
cmp dword [ebp - 4], edi
je 0x105e0bf
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret 0x14

Function at 0x105e698
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x105e6b4
test al, 0x10
jne 0x105e6b4
xor eax, eax
inc eax
jmp 0x105e6b6
xor eax, eax
pop ebp
ret 4
Function at 0x105e814
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10687d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
mov dword [ebp - 0x210], eax
xor esi, esi
call ebx
test eax, eax
jne 0x105e902
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x105e900
push 0x5c
push edi
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
jne 0x105e879
push edi
mov esi, 0x80070003
push 0x102fc98
jmp 0x105e8c2
sub eax, edi
sar eax, 1
push eax
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.01043292
mov esi, eax
test esi, esi
jge 0x105e89e
push edi
push 0x102fc74
jmp 0x105e8c2
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.0105e814
mov esi, eax
test esi, esi
jge 0x105e8d4
lea eax, [ebp - 0x20c]
push eax
push 0x102fc58
push 1
push esi
push 0x4000000
call fcn.01050085
add esp, 0x14
jmp 0x105e902
push dword [ebp - 0x210]
push edi
call ebx
test eax, eax
jne 0x105e900
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x105e900
test eax, eax
jle 0x105e8fc
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x105e902
xor esi, esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0104f2d3
leave
ret 8
Function at 0x42fb71
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x43757a
call fcn.004339e0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c770
mov dword [esi + 4], 0x43c758
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x43c73c
mov dword [esi + 4], 0x43c724
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x430a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x430a1f
pop dword [ebp - 0x48]
mov eax, 0x430a1f
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3bbd3
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x8f0ee316
add ecx, 0x70f16915
xor edi, edi
add edi, eax
mov edx, 0x1f863282
sub edx, 0x1f416c82
add edx, dword [ebp - 0x48]
mov esi, 0x425978d6
add esi, 0xc7675330
add dword [ebp - 0x10], 0x1df5ffa7
mov ebx, dword [edx]
sub dword [ebp - 0xc], 0xef0ce73b
sub ebx, esi
xor dword [ebp - 0x40], 0x6c00046e
mov dword [edi], ebx
mov dword [ebp - 0x1c], 0xc085c4cf
add edi, 0xa90fd59c
sub edi, 0xa90fd598
add edx, 0xac0aec33
sub edx, 0xac0aec2f
loop 0x430a76
add eax, 0x1237f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc4d39ec3
add ecx, 0x3b6c613d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x433770
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x433799
xor eax, eax
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x4337a8
mov eax, 1
ret 4
Function at 0x100071e6
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000726b
push ebx
push esi
xor esi, esi
cmp dword [esp + 0x18], esi
push edi
je 0x10007206
push 0x43
jmp 0x10007208
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebp
call edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call ebx
push ebp
call edi
push esi
push dword [esp + 0x14]
push dword [esp + 0x20]
call ebx
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret

Function at 0x1000c2d5
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x1000c32b
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x1000c341
push 0x80004005
call fcn.10001020
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1000c344
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000c5fb
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x100ca9c0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.1000c2a0
mov edi, eax
cmp edi, esi
je 0x1000c663
lea ecx, [ebp - 0x70]
call fcn.1000c23b
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a3ba
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1000c67b
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000c5fb
cmp eax, esi
jne 0x1000c6ae
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x1000c66b
lea ecx, [ebp - 0x70]
call fcn.1000c23b
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.1000c23b
mov eax, esi
jmp 0x1000c649
Function at 0x1000c6e0
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x654]
sub esp, 0x6d4
mov eax, dword [0x100ca9c0]
xor eax, ebp
mov dword [ebp + 0x650], eax
push ebx
push esi
push edi
mov esi, ecx
call dword [0x100ca998]
mov ebx, dword [0x100cb1dc]
and dword [ebp - 0x80], 0
mov edi, 0x104
push edi
lea eax, [ebp + 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1000c751
call fcn.1000c213
mov esi, eax
lea ecx, [ebp - 0x80]
call fcn.1000c434
mov ecx, dword [ebp + 0x650]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a3ba
add ebp, 0x654
leave
ret
cmp eax, edi
jne 0x1000c75c
mov esi, 0x8007007a
jmp 0x1000c72f
test ebx, ebx
je 0x1000c774
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp ebx, eax
je 0x1000c774
lea ecx, [ebp + 0x23c]
jmp 0x1000c7c7
lea eax, [ebp + 0x23c]
push eax
lea eax, [ebp + 0x446]
push 0x105
push eax
mov word [ebp + 0x444], 0x22
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
push eax
call fcn.10001038
add esp, 0x10
lea eax, [ebp + 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
and word [ebp + eax + 0x446], 0
mov word [ebp + eax + 0x444], 0x22
lea ecx, [ebp + 0x444]
mov eax, dword [esi]
push ecx
push str.Module
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x1000c72d
mov eax, dword [esi]
lea ecx, [ebp + 0x23c]
push ecx
push str.Module_Raw
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x1000c72d
lea eax, [ebp - 0x7c]
push eax
push 0x100caabc
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x1000c72d
push dword [ebp - 0x7c]
mov eax, dword [esi]
push str.MODULEGUID
push esi
call dword [eax + 0xc]
push dword [ebp - 0x7c]
mov edi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jge 0x1000c830
mov esi, edi
jmp 0x1000c72f
push 0x2000
push 0x2b4
lea eax, [ebp - 0x78]
push eax
push 0
lea eax, [ebp + 0x23c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
mov eax, dword [esi]
jne 0x1000c85a
push str.InprocServer32
jmp 0x1000c85f
push str.LocalServer32
push str.MODULETYPE
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x1000c72d
mov ecx, dword [0x100caaa0]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
jmp 0x1000c72d

Function at 0x10013b4d
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
add ecx, 0xfffffffc
neg esi
sbb esi, esi
and esi, ecx
test eax, eax
je 0x10013b92
cmp dword [eax + 0x10], 0x615
jne 0x10013b92
cmp dword [eax + 8], 0xed
jne 0x10013b92
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [esi + 0x7c]
test ax, ax
mov eax, dword [esi]
jns 0x10013b8c
push 0
jmp 0x10013b8e
push 0xffffffffffffffff
push esi
call dword [eax + 0x34]
xor eax, eax
pop esi
ret 0xc
Function at 0x10013b51
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
add ecx, 0xfffffffc
neg esi
sbb esi, esi
and esi, ecx
test eax, eax
je 0x10013b92
cmp dword [eax + 0x10], 0x615
jne 0x10013b92
cmp dword [eax + 8], 0xed
jne 0x10013b92
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [esi + 0x7c]
test ax, ax
mov eax, dword [esi]
jns 0x10013b8c
push 0
jmp 0x10013b8e
push 0xffffffffffffffff
push esi
call dword [eax + 0x34]
xor eax, eax
pop esi
ret 0xc

Function at 0x1001bef4
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xc
mov eax, 0x1007108e
call fcn.1006a3c9
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp + 8]
mov esi, edi
neg esi
sbb esi, esi
lea eax, [edi - 4]
and esi, eax
xor ebx, ebx
cmp dword [ecx + 8], 9
jne 0x1001bf50
cmp dword [esi + 0x7c], ebx
je 0x1001c011
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
jns 0x1001bf3c
push ebx
jmp 0x1001bf3e
push 0xffffffffffffffff
push eax
call dword [ecx + 0x34]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x1001c000
mov eax, dword [esi + 0x7c]
cmp eax, ebx
je 0x1001bff9
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x28]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.10006ea3
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
je 0x1001bfd6
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0xcb
push dword [esi + 0x68]
push dword [ebp - 0x10]
call fcn.10015646
cmp dword [edi], ebx
jne 0x1001bfd6
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x38]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.10009e6c
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1001bfd1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jne 0x1001bf82
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1001bfe6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1001c011
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1001c011
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
mov esi, dword [esi + 0x68]
push 0xcb
push esi
push esi
mov ecx, edi
call fcn.10015646
xor eax, eax
call fcn.1006a468
ret 0xc

Function at 0x100350dd
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x100350f9
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
ret 0xc
Function at 0x100351f3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ca9c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x18], ebx
je 0x1003521b
mov dword [ebx], 1
mov eax, dword [esi]
cmp eax, edi
jne 0x10035226
mov dword [ebp - 0x14], edi
jmp 0x10035231
push eax
call dword [sym.imp.MSVCR80.dll_ftell]
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
cmp eax, edi
je 0x1003524b
push eax
push 0xb
lea eax, [ebp - 0x10]
push 1
push eax
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
mov edi, eax
push 0
push dword [ebp - 0x14]
mov ecx, esi
call fcn.100350fc
cmp edi, 0xb
jne 0x100353aa
mov al, byte [ebp - 0x10]
cmp al, 0x42
mov cx, word [ebp - 0xc]
jne 0x1003527d
cmp byte [ebp - 0xf], 0x4d
jne 0x10035393
xor eax, eax
inc eax
jmp 0x100353ac
cmp al, 0xff
jne 0x1003529c
cmp byte [ebp - 0xf], 0xd8
jne 0x10035393
cmp byte [ebp - 0xe], al
jne 0x10035393
push 3
pop eax
jmp 0x100353ac
test al, al
jne 0x100352ca
cmp byte [ebp - 0xf], al
jne 0x10035393
cmp byte [ebp - 0xe], 1
jne 0x10035393
cmp byte [ebp - 0xd], al
jne 0x10035393
test ebx, ebx
je 0x100352c6
movzx eax, word [ebp - 0xc]
mov dword [ebx], eax
push 5
jmp 0x10035296
cmp al, 0x47
jne 0x10035378
cmp byte [ebp - 0xf], 0x49
jne 0x10035393
cmp byte [ebp - 0xe], 0x46
jne 0x10035393
cmp byte [ebp - 0xd], 0x38
jne 0x10035393
cmp cl, 0x39
je 0x100352fe
cmp cl, 0x37
jne 0x10035393
cmp ch, 0x61
jne 0x10035393
cmp cl, 0x39
jne 0x10035371
test ebx, ebx
je 0x10035371
push 2
push 0
mov ecx, esi
call fcn.100350fc
mov eax, dword [esi]
test eax, eax
jne 0x10035325
xor ebx, ebx
jmp 0x1003532f
push eax
call dword [sym.imp.MSVCR80.dll_ftell]
pop ecx
mov ebx, eax
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
pop ecx
push 0
push 0
mov ecx, esi
mov edi, eax
call fcn.100350fc
push ebx
push 1
push edi
mov ecx, esi
call fcn.100350dd
push 0
push dword [ebp - 0x14]
mov ecx, esi
call fcn.100350fc
push ebx
push edi
call fcn.10035143
mov ecx, dword [ebp - 0x18]
push edi
mov dword [ecx], eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 0xc
push 2
jmp 0x10035296
cmp al, 0x89
jne 0x10035393
cmp byte [ebp - 0xf], 0x50
jne 0x10035393
cmp byte [ebp - 0xe], 0x4e
jne 0x10035393
cmp byte [ebp - 0xd], 0x47
jne 0x10035393
cmp cl, 0xd
je 0x100353a3
cmp ch, 0xa
jne 0x100353aa
cmp byte [ebp - 0xa], 0x1a
jne 0x100353aa
cmp byte [ebp - 9], ch
jne 0x100353aa
push 4
jmp 0x10035296
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a3ba
leave
ret