joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1001284c
cmp byte [esi + 0x3d], 0
je 0x1001284c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1001283a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10012801
sub eax, 1
je 0x10012805
sub eax, 2
jne 0x1001283a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101179c5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10012823
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001283a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101179c5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101179c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.101179c5
mov esp, ebp
pop ebp
ret

Function at 0x1001f660
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1001f6c1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1001f6a4
cmp edi, 2
jb 0x1001f6a4
cmp byte [esi], cl
jne 0x1001f6a4
cmp byte [esi + 1], cl
jne 0x1001f6a4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10153290]
jmp 0x1001f675
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10153290]
test edi, edi
jne 0x1001f675
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1001f6f0
cmp cl, 0x23
jne 0x1001f6d7
cmp byte [esi], cl
jne 0x1001f6d7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10153290]
test cl, cl
jne 0x1001f6c8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1001f7d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1001f7e4
mov dword [ebx], 0
mov edx, 0x10158eb8
call fcn.1001f700
mov esi, eax
test esi, esi
je 0x1001f8d2
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1001f8c8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001f8c8
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1001f8c8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001f8c8
mov eax, dword [0x1028f9e0]
test eax, eax
je 0x1001f85c
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1001f8c8
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1001f8ad
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1028f9e0]
add esp, 4
test eax, eax
je 0x1001f89a
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1001f8bf
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021580
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10153290]
sub esi, 1
jne 0x100215b3
mov eax, dword [0x1028f9e0]
not ebx
cmp dword [eax + 0x1bd0], ebx
jne 0x100215e2
mov dword [eax + 0x1bd4], ebx
cmp dword [eax + 0x1c0c], ebx
jne 0x100215f1
mov byte [eax + 0x1c10], 1
cmp dword [eax + 0x1bb8], ebx
jne 0x1002160a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.100310d0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101179c5
mov esp, ebp
pop ebp
ret 4

Function at 0x10021620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
vmovss xmm0, dword [edx]
mov edi, 0x10
vsubss xmm0, xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 4]
vsubss xmm0, xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 8]
vsubss xmm0, xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
vcvttss2si eax, xmm0
vmovss xmm0, dword [edx + 0xc]
vsubss xmm0, xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
vcvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10153290]
sub edi, 1
jne 0x10021694
mov eax, dword [0x1028f9e0]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd0], edx
jne 0x100216c5
mov dword [eax + 0x1bd4], edx
cmp dword [eax + 0x1c0c], edx
jne 0x100216d4
mov byte [eax + 0x1c10], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.101179c5
mov esp, ebp
pop ebp
ret 4

Function at 0x100254f0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1002552d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10025513
cmp byte [esi], bl
jne 0x10025513
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10153290]
test bl, bl
jne 0x10025504
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10025490
Function at 0x1002ab60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1028f9e0]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b98]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10153290]
sub esi, 1
jne 0x1002aba1
mov eax, dword [0x1028f9e0]
not ebx
cmp dword [eax + 0x1bb8], ebx
jne 0x1002abdb
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.100310d0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x1002ac06
inc esi
test ecx, ecx
je 0x1002abf4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002abf9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100316f0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101179c5
mov esp, ebp
pop ebp
ret

Function at 0x1002ac30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1028f9e0]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b98]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10153290]
sub esi, 1
jne 0x1002ac71
mov eax, dword [0x1028f9e0]
not ebx
cmp dword [eax + 0x1bb8], ebx
jne 0x1002acab
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100310d0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x1002acd6
inc esi
test ecx, ecx
je 0x1002acc4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1002acc9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100316f0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101179c5
mov esp, ebp
pop ebp
ret
Function at 0x100302b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2f70], 0
lea esi, [edi + 0x2f74]
je 0x10030332
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100302ec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100319a0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1001fe00
mov edx, dword [esi]
mov ecx, 0x1028f9dc
push dword [edi + 0x2f70]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f7c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1001fe00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100327d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1003280a
mov eax, dword [0x1028f9e0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x100327fd
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1003283b
mov eax, dword [0x1028f9e0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1003282e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1003286c
mov eax, dword [0x1028f9e0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1003285f
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x100328b9
mov eax, dword [0x1028f9e0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x100328ac
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100328ea
mov eax, dword [0x1028f9e0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x100328dd
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1003291b
mov eax, dword [0x1028f9e0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1003290e
dec dword [eax + 0x36c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100355f0
Function at 0x100523b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100524aa
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100524a3
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10052489
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10052489
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10052489
mov edx, dword [esi]
test edx, edx
jne 0x10052452
push 0x200
push edx
push dword [0x1028f9ec]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100524a3
jmp 0x1005247d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1005247d
shl eax, 3
push eax
push edx
push 0
push dword [0x1028f9ec]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100524a3
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10052411
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10052502
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10052502
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax + eax]
mov eax, dword [esi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100524f3
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.10052240
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
inc ebx
add ecx, 4
mov dword [ebp - 0x24], ecx
cmp ebx, dword [esi + 8]
jb 0x100524c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101179c5
mov esp, ebp
pop ebp
ret

Function at 0x10052520
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x10052584
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x10052573
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10052563
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 4
mov dword [ebp - 4], ecx
cmp ebx, dword [edi + 8]
jb 0x10052540
pop esi
push dword [edi]
push 0
push dword [0x1028f9ec]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10052590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10163040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x102900d0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100525ec
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101179c5
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10052607
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101179c5
mov esp, ebp
pop ebp
ret
Function at 0x10076a50
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1028fad0]
push esi
mov esi, ecx
cmp dword [eax], 0
je 0x10076aae
mov eax, dword [0x1028ffac]
cmp byte [eax + 0x34], 0
jne 0x10076aae
cmp byte [esi + 0xa], 0
je 0x10076a8e
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10076a8e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10076a8e
xor eax, eax
cmp byte [esi + 9], al
pop esi
sete al
add eax, 2
ret
cmp byte [esi + 0xb], 0
je 0x10076aae
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10076aae
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10076aae
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10076a55
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x1028fad0]
push esi
mov esi, ecx
cmp dword [eax], 0
je 0x10076aae
mov eax, dword [0x1028ffac]
cmp byte [eax + 0x34], 0
jne 0x10076aae
cmp byte [esi + 0xa], 0
je 0x10076a8e
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10076a8e
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10076a8e
xor eax, eax
cmp byte [esi + 9], al
pop esi
sete al
add eax, 2
ret
cmp byte [esi + 0xb], 0
je 0x10076aae
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10076aae
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x10076aae
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100a94f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push esi
push eax
call fcn.100a9b90
mov edx, dword [eax + 4]
test edx, edx
je 0x100a9597
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x100a956c
cmp eax, edx
jne 0x100a9564
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100a9574
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x100a9574
cmp eax, edx
jne 0x100a9574
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 8]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.1000d7b0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a96c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edx, edi
je 0x100a9862
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [esi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [esi + eax*8]
mov esi, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
call fcn.1000d7b0
dec dword [ebx + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
je 0x100a9765
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x100a9774
mov edx, esi
mov esi, dword [esi]
call fcn.1000d7b0
dec dword [ebx + 8]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jne 0x100a9747
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
jne 0x100a9798
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x100a979b
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100a9859
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
cmp esi, edi
je 0x100a9859
nop word [eax + eax]
movzx eax, byte [esi + 8]
mov edx, esi
xor eax, 0x811c9dc5
mov edi, esi
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
mov esi, dword [esi]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.1000d7b0
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
je 0x100a9828
nop word [eax + eax]
mov edi, esi
cmp esi, dword [ebp + 0xc]
je 0x100a9851
mov edx, esi
mov esi, dword [esi]
call fcn.1000d7b0
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
jne 0x100a9810
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp esi, edi
jne 0x100a97b0
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10117341
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10117368
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1011736b
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1011731d
pop esi
leave
ret 8