joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10015d62
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10015e90
mov esi, eax
add esp, 8
test esi, esi
jne 0x10015d7a
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x10015e71
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 0x10015e71
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10015e71
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10015e71
mov eax, dword [0x1022b1c0]
test eax, eax
je 0x10015de0
inc dword [eax + 0x374]
push dword [0x1022b1e0]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x101be1f8]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10015e71
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x10015e41
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1022b1c0]
add esp, 4
test eax, eax
je 0x10015e27
dec dword [eax + 0x374]
push dword [0x1022b1e0]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x101be1fc]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10015e59
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10015e69
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x100160a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x10016103
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100160e6
cmp edi, 2
jb 0x100160e6
cmp byte [esi], cl
jne 0x100160e6
cmp byte [esi + 1], cl
jne 0x100160e6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10165fa0]
jmp 0x100160b7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10165fa0]
test edi, edi
jne 0x100160b7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10016138
nop word [eax + eax]
cmp cl, 0x23
jne 0x1001611f
cmp byte [esi], cl
jne 0x1001611f
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 + 0x10165fa0]
test cl, cl
jne 0x10016110
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10016e90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x101665a9
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x10016ec2
cmp byte [esi], cl
jne 0x10016ec2
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10165fa0]
test cl, cl
jne 0x10016eb3
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x10020600
mov dword [ebp - 0xc], 0x10020550
mov edi, dword [esi + 0x2d48]
mov ecx, dword [esi + 0x2d4c]
mov dword [ebp - 8], 0x10020630
cmp edi, ecx
jne 0x10016fa9
inc edi
test ecx, ecx
je 0x10016f1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10016f21
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10016fa9
mov eax, dword [0x1022b1c0]
test eax, eax
je 0x10016f39
inc dword [eax + 0x374]
push ebx
push dword [0x1022b1e0]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [0x101be1f8]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2d50]
test eax, eax
je 0x10016f9c
mov ecx, dword [esi + 0x2d48]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2d50]
add esp, 0xc
test ecx, ecx
je 0x10016f8c
mov eax, dword [0x1022b1c0]
test eax, eax
je 0x10016f8c
dec dword [eax + 0x374]
push dword [0x1022b1e0]
push ecx
call dword [0x101be1fc]
add esp, 8
mov dword [esi + 0x2d50], ebx
mov dword [esi + 0x2d4c], edi
pop ebx
mov eax, dword [esi + 0x2d48]
movups xmm0, xmmword [ebp - 0x18]
pop edi
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x2d50]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi + 0x2d48]
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10017d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x1022b1c0]
cmp byte [esi + 0x2d60], 0
je 0x10017dcb
cmp dword [esi + 0x2d68], 0
push edi
lea edi, [esi + 0x2d6c]
je 0x10017dbc
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10017d76
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, edi
call fcn.10020f10
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10020a70
mov edx, dword [edi]
mov ecx, 0x1022b1c4
push dword [esi + 0x2d68]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2d74]
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 ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10020a70
pop edi
pop esi
pop ebp
ret
Function at 0x1001bfa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1022b1c0]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19b0]
mov esi, 4
mov eax, dword [ebp + 8]
add edi, 0xcc
mov dword [ebp + 8], eax
mov eax, dword [edi]
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 + 0x10165fa0]
sub esi, 1
jne 0x1001bfd0
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x1001c017
inc esi
test ecx, ecx
je 0x1001c005
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001c00a
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.10021010
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001e280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
mov eax, dword [0x1022b1c0]
mov dword [eax + 0x2d38], 0
je 0x1001e375
push esi
mov esi, dword [0x1022b1c0]
push edi
lea edi, [esi + 0x2d3c]
mov dword [esi + 0x2d38], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1001e2d4
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, edi
call fcn.10020f10
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1001e2e9
push 8
mov ecx, edi
call fcn.10020f10
mov eax, dword [edi]
mov ecx, dword [edi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2d48], 0
jle 0x1001e32c
xor ebx, ebx
mov eax, dword [esi + 0x2d50]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2d48]
jl 0x1001e307
mov edi, dword [edi]
mov ebx, 0x1022b1c4
push 0x10166694
push dword [ebp + 8]
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2d44]
test eax, eax
cmovne ebx, eax
call fcn.10015e90
mov esi, eax
add esp, 8
test esi, esi
je 0x1001e372
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10031e30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1022a800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.10015770
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push dword [0x1022b5c8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
movd xmm0, eax
lea eax, [ebp - 0x24]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
push eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [0x1022b5d0]
mov edx, dword [ebp - 0x20]
sbb edx, dword [0x1022b5d4]
call fcn.100f7f80
mov edx, dword [0x1022b5dc]
mov ecx, dword [0x1022b5d8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x18], xmm0
call fcn.100f7f80
movss xmm1, dword [ebp - 0x18]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x1022b5d0], eax
mov dword [0x1022b5d4], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf9], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xfb], 0
mov byte [edi + 0xfa], al
call fcn.10015770
cmp byte [eax + 0x353], 0
lea esi, [eax + 0xe0]
je 0x10031f57
cvttss2si eax, dword [eax + 0xe4]
cvttss2si ecx, dword [esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x1022b5c8]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10031fbf
mov ecx, dword [0x1022b5c8]
cmp eax, ecx
je 0x10031f84
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10031fbf
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10031fbf
lea eax, [ebp - 0x2c]
push eax
push dword [0x1022b5c8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10031fbf
movd xmm0, dword [ebp - 0x2c]
movd xmm1, dword [ebp - 0x28]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x10031fcf
or eax, 0xffffffff
jmp 0x10031fd4
call fcn.10015780
cmp dword [0x101be348], eax
je 0x10031fe6
mov dword [0x101be348], eax
call fcn.10032000
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f7dfb
mov esp, ebp
pop ebp
ret
Function at 0x10060970
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1022a800]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x44]
mov ecx, 0x20
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], ecx
mov eax, 0x3f
shr ecx, 3
add esp, 0xc
and ecx, 0x3f
mov dword [ebp - 0x5c], 0x67452301
add edx, ecx
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
sub eax, ecx
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x48], 0
mov byte [edx], 0x80
inc edx
cmp eax, 8
jae 0x10060a04
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100602f0
push 0x38
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
jmp 0x10060a13
add eax, 0xfffffff8
push eax
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100602f0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x56]
xor ecx, ebp
call fcn.100f7dfb
mov esp, ebp
pop ebp
ret
Function at 0x10060a60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x10060a76
jmp dword [edi*4 + 0x10060c0c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x10060ab9
sub ecx, 1
je 0x10060aa6
sub ecx, 1
jne 0x10060acc
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x10060b4e
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x1016c2e8]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
sub edx, 1
jne 0x10060ad5
and edi, 7
jmp 0x10060a71
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x10060b8f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
cmp edi, 7
ja case.default.0x10060a76
jmp dword [edi*4 + 0x10060c0c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x10060ab9
sub ecx, 1
je 0x10060aa6
sub ecx, 1
jne 0x10060acc
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x10060b4e
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x1016c2e8]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
sub edx, 1
jne 0x10060ad5
and edi, 7
jmp 0x10060a71
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1016c2e8]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1016c2e8]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret

Function at 0x10060f60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
jmp fcn.100612d0
Function at 0x100611e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152265
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x1022a800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x200
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push 4
call fcn.100f7aa3
add esp, 0x10
test eax, eax
je 0x10061227
mov dword [eax], esi
jmp 0x10061229
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10060f20
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10061281
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1006128f
push ecx
push eax
call sub.MSVCP140.dll__Thrd_detach
add esp, 8
test eax, eax
jne 0x1006128f
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x14], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1006dde0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4

Function at 0x10077880
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152b8d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1022a800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.100f7aa3
add esp, 4
test eax, eax
je 0x100778c4
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
jmp 0x100778c6
xor eax, eax
mov dword [ebp + 0x14], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x100726a0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x10077903
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x10077d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1022a800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb84
call fcn.100f7aa3
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10077ea9
push 0xb84
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov dword [edi], 0
xorps xmm0, xmm0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 8
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x1c], 0x65747563
mov dword [edi + 0x20], 0x776f6c66
mov byte [edi + 0x24], 0
lea esi, [edi + 0x40]
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x20
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100f7aa3
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x48]
mov byte [ebp - 4], 3
push 0x40
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100f7aa3
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x68], 0
xorps xmm0, xmm0
mov dword [edi + 0x64], 0
mov dword [edi + 0x6c], 0
mov byte [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
movups xmmword [edi + 0x7c], xmm0
mov dword [edi + 0x8c], 1
mov dword [edi + 0x90], 0xf
mov word [edi + 0x7c], 0x41
push 0xaf0
lea esi, [edi + 0x94]
mov byte [ebp - 4], 6
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x20
push 0x1007bcb0
push 0x1007aa60
push 0x32
push 0x38
push esi
call fcn.100f791a
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10083010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
jne 0x10083088
mov eax, dword [ebp + 8]
push 0x10080d00
push 1
mov dword [0x1022c540], eax
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push dword [0x1022c540]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
jmp 0x10083046
mov eax, dword [0x102274c0]
sub eax, dword [0x102274c8]
xor eax, dword [0x102274c4]
mov ecx, dword [ebp + 8]
push 0
push 0
push dword [ebp + 0x10]
mov dword [eax + 4], ecx
push 0x10080c30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1008307c
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc