joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012e230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x10
mov ecx, dword [0x1033a628]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103478f8]
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x1012e2ed
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.10003550
mov ecx, esi
mov edi, dword [eax]
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov edx, 0x811c9dc5
mov ecx, dword [eax + 8]
mov al, byte [ecx]
test al, al
je 0x1012e2cd
movzx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x1012e285
cmp edx, 0x92546bf0
jne 0x1012e2b0
mov ecx, esi
call fcn.10003550
mov dword [eax], 2
jmp 0x1012e2cd
cmp edx, 0x798b70e7
je 0x1012e2c0
cmp edx, 0x6a5171a2
jne 0x1012e2cd
mov ecx, esi
call fcn.10003550
mov dword [eax], 0
push esi
call dword [0x103478fc]
add esp, 4
mov ecx, esi
mov bl, al
call fcn.10003550
mov dword [eax], edi
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x103478f8
call fcn.100c3aa2
add esp, 4
cmp dword [0x103478f8], 0xffffffff
jne 0x1012e259
mov dh, 0x77
mov byte [ebp - 5], 0
mov cl, 0x12
mov byte [ebp - 0xc], dh
mov ah, cl
mov byte [ebp - 5], 0
mov al, 4
mov dl, 5
xor al, dh
xor ah, dh
mov ch, dl
mov byte [ebp - 0xb], al
mov byte [ebp - 7], ah
mov bl, 1
lea eax, [ebp - 0xb]
xor cl, dh
xor dl, dh
mov byte [ebp - 0xa], cl
xor bl, dh
mov byte [ebp - 9], dl
xor ch, dh
mov byte [ebp - 8], bl
push eax
mov byte [ebp - 6], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x1cd4f0
push 0x103478f8
mov dword [0x103478fc], eax
call fcn.100c3a51
add esp, 4
jmp 0x1012e259
Function at 0x10151ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [0x103390c8]
sub esp, 0x34
mov eax, dword [eax + 8]
push ebx
push esi
push edi
cmp byte [eax + 6], 0
mov ebx, ecx
je 0x10151c17
mov eax, dword [0x103390d4]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
call dword [eax + 0x30]
push eax
mov ecx, edi
call esi
mov ecx, dword fs:[0x2c]
mov edi, eax
mov edx, dword [0x1033a628]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10347e98]
cmp ecx, dword [edx + 4]
jg 0x10151c1e
mov esi, dword [0x10347e9c]
mov ecx, edi
call fcn.10023020
sub esp, 8
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x44]
movss xmm0, dword [esp + 0x44]
add esp, 8
comiss xmm0, dword [0x102dd994]
ja 0x10151c17
movss xmm1, dword [esi + 0x1c]
sub esp, 8
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100ef450
fstp dword [esp + 0x44]
movss xmm0, dword [esp + 0x44]
add esp, 8
comiss xmm0, dword [0x102dd994]
ja 0x10151c17
movd xmm0, dword [ebx + 8]
mov ecx, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x102dd9dc]
movss dword [esi + 0x1c], xmm0
call fcn.1003ba90
cmp byte [eax], 0
jne 0x10151bfd
mov ecx, edi
call fcn.1003b940
cmp byte [eax], 0
je 0x10151c0f
movss xmm0, dword [esi + 0x1c]
mulss xmm0, dword [0x102dd944]
movss dword [esi + 0x1c], xmm0
mov eax, dword [ebx + 8]
neg eax
mov dword [ebx + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10347e98
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347e98], 0xffffffff
jne 0x10151b2e
push 0x10347e98
mov dword [0x10347e9c], 0
call fcn.100c3a51
add esp, 4
jmp 0x10151b2e
Function at 0x1015c780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1033cac0]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1cec]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], 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 + 0x102cda10]
sub esi, 1
jne 0x1015c7b2
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x1015c7f9
inc ecx
test esi, esi
je 0x1015c7e7
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1015c7ec
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100444c0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101631a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x102cda10]
sub edi, 1
jne 0x10163210
mov eax, dword [0x1033cac0]
not edx
pop edi
pop esi
cmp dword [eax + 0x1d24], edx
jne 0x10163241
mov dword [eax + 0x1d28], edx
cmp dword [eax + 0x1d5c], edx
jne 0x10163250
mov byte [eax + 0x1d60], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xc4]
mov eax, dword [ecx + 0xcc]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102cda10]
sub edi, 1
jne 0x101633c0
mov ecx, dword [0x1033cac0]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1d24], eax
jne 0x101633f2
mov dword [ecx + 0x1d28], eax
cmp dword [ecx + 0x1d5c], eax
jne 0x10163401
mov byte [ecx + 0x1d60], 1
pop ebp
ret 4
Function at 0x101663b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
mov eax, ecx
push edi
mov dword [ebp - 0x18], esi
xor edx, edx
mov dword [ebp - 0x10], edx
test esi, esi
je 0x101663d1
cmp eax, esi
jae 0x1016654f
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x1016654f
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x102d8114]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x10166403
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x1016641b
mov bl, byte [esi]
mov byte [ebp - 1], bl
jmp 0x1016641f
mov byte [ebp - 1], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x1016642a
mov ch, byte [esi]
jmp 0x1016642c
xor ch, ch
lea ebx, [eax + 3]
mov byte [ebp - 3], ch
cmp ebx, edx
jae 0x1016643a
mov bl, byte [ebx]
jmp 0x1016643c
xor bl, bl
movzx esi, byte [ebp - 1]
movzx edx, ch
movzx ecx, cl
movzx edi, bl
mov byte [ebp - 2], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x102d8100]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x102d80ec]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x102d80d8]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0x10ffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x102d80c4]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10166533
xor edx, edx
mov esi, dword [ebp - 0x18]
cmp byte [ebp - 4], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x101663c2
add eax, ebx
test esi, esi
je 0x10166545
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
inc edx
jmp 0x101663c2
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10166560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], ecx
lea eax, [edx - 1]
mov dword [ebp - 0xc], ebx
lea eax, [ebx + eax*4]
mov dword [ebp - 0x1c], eax
cmp ebx, eax
mov eax, dword [ebp + 8]
jae 0x10166715
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x10166594
cmp eax, esi
jae 0x10166710
mov bl, byte [eax]
mov byte [ebp - 3], bl
test bl, bl
je 0x10166710
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x102d8114]
test ecx, ecx
mov dword [ebp - 0x10], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x18], ebx
test esi, esi
jne 0x101665c6
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp - 3]
mov byte [ebp - 4], cl
cmp esi, edx
jae 0x101665db
mov bh, byte [esi]
jmp 0x101665dd
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 3], bh
cmp esi, edx
jae 0x101665eb
mov ch, byte [esi]
jmp 0x101665ed
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 2], ch
cmp esi, edx
jae 0x101665fb
mov bl, byte [esi]
jmp 0x101665fd
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp - 1], bl
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx*4 + 0x102d8100]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0x10]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x102d80ec]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x10]
cmp esi, dword [ebx*4 + 0x102d80d8]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0x10ffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x102d80c4]
mov ebx, dword [ebp - 0x18]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x101666ee
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp - 1], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 4], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x101666f4
add eax, ebx
test esi, esi
je 0x1016670d
mov ecx, dword [ebp - 0x14]
mov dword [ecx], esi
add ecx, 4
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x1c]
jb 0x10166588
jmp 0x10166710
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
pop edi
pop esi
mov edx, dword [ebp + 0x10]
mov dword [ecx], 0
test edx, edx
je 0x10166724
mov dword [edx], eax
sub ecx, ebx
sar ecx, 2
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101668a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x101668b3
mov dword [edi], 0
mov edx, 0x102d8058
call fcn.10166a60
mov esi, eax
test esi, esi
je 0x1016699e
push esi
call fcn.100f49bf
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10166995
push 2
push 0
push esi
call fcn.100f0219
add esp, 0xc
test eax, eax
jne 0x10166995
push esi
call fcn.100f49bf
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10166995
push 0
push dword [ebp + 8]
push esi
call fcn.100f0219
add esp, 0xc
test eax, eax
jne 0x10166995
mov eax, dword [0x1033cac0]
test eax, eax
je 0x10166926
inc dword [eax + 0x370]
push dword [0x1033cb10]
push ebx
call dword [0x102e7df4]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x10166995
push esi
push ebx
push 1
push eax
call fcn.100f0853
add esp, 0x10
push esi
cmp eax, ebx
je 0x1016697f
call fcn.100f11ac
mov eax, dword [0x1033cac0]
add esp, 4
test eax, eax
je 0x10166966
dec dword [eax + 0x370]
push dword [0x1033cb10]
push dword [ebp + 8]
call dword [0x10338d38]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100f11ac
add esp, 4
test edi, edi
je 0x1016698d
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100f11ac
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x10166b40
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 0x10166ba1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10166b84
cmp edi, 2
jb 0x10166b84
cmp byte [esi], cl
jne 0x10166b84
cmp byte [esi + 1], cl
jne 0x10166b84
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102cda10]
jmp 0x10166b55
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x102cda10]
test edi, edi
jne 0x10166b55
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10166bd0
cmp cl, 0x23
jne 0x10166bb7
cmp byte [esi], cl
jne 0x10166bb7
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 + 0x102cda10]
test cl, cl
jne 0x10166ba8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x101688c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1033cac0]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1cec]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], 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 + 0x102cda10]
sub esi, 1
jne 0x101688f2
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10168939
inc ecx
test esi, esi
je 0x10168927
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1016892c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100444c0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1016d850
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, edx
mov eax, 0x5e6ea9af
mul dword [ebp + 8]
push edi
shr edx, 0xb
xor edi, edi
imul eax, edx, 0x15b0
mov ecx, 1
mov edx, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0x10], edi
sub ebx, eax
mov dword [ebp - 4], ebx
test edx, edx
je 0x1016d990
xor edx, edx
mov dword [ebp - 8], edx
cmp ebx, 7
jbe 0x1016d8f4
mov eax, 7
sub eax, esi
mov dword [ebp - 0x10], eax
nop dword [eax]
movzx eax, byte [esi]
add edx, 8
add ecx, eax
movzx eax, byte [esi + 1]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 2]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 3]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 4]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 5]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 6]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 7]
add edi, ecx
add esi, 8
add ecx, eax
mov eax, dword [ebp - 0x10]
add eax, esi
add edi, ecx
cmp eax, ebx
jb 0x1016d8a0
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 4]
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 8], eax
jae 0x1016d955
sub eax, dword [ebp - 8]
cmp eax, 2
jb 0x1016d948
mov eax, dword [ebp - 8]
mov edi, ebx
mov edx, dword [ebp - 4]
sub edx, eax
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 8], eax
nop
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add ebx, ecx
add esi, 2
add ecx, eax
add edi, ecx
sub edx, 1
jne 0x1016d920
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x1016d950
movzx eax, byte [esi]
add ecx, eax
add edi, ecx
inc esi
lea eax, [edx + ebx]
add edi, eax
mov eax, 0x80078071
mov ebx, dword [ebp - 4]
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
sub dword [ebp + 8], ebx
mov ebx, 0x15b0
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], ebx
jne 0x1016d888
shl edi, 0x10
lea eax, [ecx + edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1017f9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1017f9ed
mov eax, dword [0x1033cac0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1017f9d6
dec dword [eax + 0x370]
push dword [0x1033cb10]
push ecx
call dword [0x10338d38]
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1017fa28
mov eax, dword [0x1033cac0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1017fa11
dec dword [eax + 0x370]
push dword [0x1033cb10]
push ecx
call dword [0x10338d38]
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1017fa63
mov eax, dword [0x1033cac0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1017fa4c
dec dword [eax + 0x370]
push dword [0x1033cb10]
push ecx
call dword [0x10338d38]
add esp, 8
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 0x1017faba
mov eax, dword [0x1033cac0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1017faa3
dec dword [eax + 0x370]
push dword [0x1033cb10]
push ecx
call dword [0x10338d38]
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1017faf5
mov eax, dword [0x1033cac0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1017fade
dec dword [eax + 0x370]
push dword [0x1033cb10]
push ecx
call dword [0x10338d38]
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1017fb30
mov eax, dword [0x1033cac0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1017fb19
dec dword [eax + 0x370]
push dword [0x1033cb10]
push ecx
call dword [0x10338d38]
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.101817f0
Function at 0x10183ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x1033cac0]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x1033cb34]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x10]
mov ecx, edi
sub ecx, dword [0x1033cb38]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [0x1033cb3c]
call fcn.100c44c0
mov edx, dword [0x1033cb44]
mov ecx, dword [0x1033cb40]
movss dword [ebp - 4], xmm0
call fcn.100c44c0
movss xmm1, dword [ebp - 4]
divss xmm1, xmm0
push 0x11
movss dword [ebx + 0x18], xmm1
mov dword [0x1033cb3c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1033cb38], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xfd], al
call esi
mov esi, dword [0x1033cac0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x10183cc6
cvttss2si eax, dword [esi + 0xe4]
mov dword [ebp - 8], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x1033cb34]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x10183cc6
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10183d3c
mov ecx, dword [0x1033cb34]
cmp eax, ecx
je 0x10183cfa
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10183d3c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10183d3c
lea eax, [ebp - 0x18]
push eax
push dword [0x1033cb34]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10183d3c
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [ebx + 0xb0], 0
je 0x10183d4a
or eax, 0xffffffff
jmp 0x10183d55
mov eax, dword [0x1033cac0]
mov eax, dword [eax + 0x1f90]
cmp dword [0x10338e8c], eax
je 0x10183d67
mov dword [0x10338e8c], eax
call fcn.10183940
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret