joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f2f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
mov edi, dword [0x1023bb74]
mov esi, dword [edi + 0x1bac]
mov dword [ebp - 4], esi
test al, 0x10
jne 0x1003f463
mov ebx, dword [esi + 0x124]
test ebx, ebx
je 0x1003f35f
cmp dword [edi + 0x1be0], ebx
jne 0x1003f45a
mov edx, dword [edi + 0x1c18]
xor eax, eax
cmp edx, 0xffffffff
cmove edx, eax
mov dword [ebp - 0xc], edx
cmp byte [edx + edi + 0xec], al
je 0x1003f45a
xor al, al
jmp 0x1003f3ea
cmp byte [edi + 0xec], 0
je 0x1003f45a
test al, 8
je 0x1003f45a
test byte [esi + 0x128], 1
jne 0x1003f396
cmp dword [edi + 0x1be0], 0
je 0x1003f45a
cmp dword [edi + 0x1c10], esi
jne 0x1003f45a
mov ecx, dword [ebp - 4]
add esi, 0x12c
push esi
call fcn.10043040
mov ebx, eax
mov eax, dword [ebp - 4]
push ebx
push esi
mov dword [eax + 0x124], ebx
call fcn.100454e0
mov esi, dword [ebp - 4]
add esp, 8
mov byte [ebp + 0xb], al
test al, al
je 0x1003f3e0
cmp byte [edi + 0x3d8], 0
je 0x1003f3e0
push esi
push ebx
call fcn.1004d7c0
push esi
call fcn.10042830
mov al, byte [ebp + 0xb]
add esp, 0xc
cmp dword [edi + 0x1be0], ebx
jne 0x1003f45a
xor edx, edx
mov byte [edi + 0x1bf1], al
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x1023bb74]
cmp byte [eax + edx + 0xec], 0
jne 0x1003f416
xor al, al
jmp 0x1003f42e
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + edx*4 + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1bf8], 0xffffffff
mov dword [edi + 0x1bfc], 0xffffffff
mov dword [edi + 0x1c00], 0xffffffff
mov dword [edi + 0x1c04], 0xffffffff
test al, al
jne 0x1003f4a1
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 4], esi
mov al, 0x23
mov edx, 0x10215ac9
or esi, 0xffffffff
cmp al, 0x23
jne 0x1003f483
cmp byte [edx], al
jne 0x1003f483
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10215500]
test al, al
jne 0x1003f475
mov esi, dword [ebp - 4]
not ebx
cmp byte [edi + 0x1e54], 0
jne 0x1003f4e6
call fcn.10040980
mov eax, dword [ebp - 8]
mov dword [edi + 0x1e70], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1e58], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1e6c], ebx
mov byte [edi + 0x1e54], 1
mov dword [edi + 0x1e60], eax
cmp ebx, dword [edi + 0x1be0]
jne 0x1003f4e6
mov byte [edi + 0x1bf2], 1
mov ebx, dword [ebp - 0x10]
mov eax, dword [edi + 0x1b48]
mov dword [edi + 0x1e5c], eax
mov byte [edi + 0x1e55], 1
test bl, 1
jne 0x1003f536
push 0
push 0
call fcn.1003f850
add esp, 8
cmp dword [edi + 0x1ebc], 0
je 0x1003f536
test dword [edi + 0x1eb0], 0x1000
je 0x1003f536
mov eax, dword [edi + 0x1bac]
mov byte [eax + 0x9b], 1
mov byte [eax + 0xb4], 1
test bl, 0x12
jne 0x1003f542
and dword [esi + 0x128], 0xfffffffe
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10042660
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
push ebx
push esi
mov bl, byte [ecx]
lea esi, [ecx + 1]
test bl, bl
je 0x100426a1
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10042687
cmp byte [esi], bl
jne 0x10042687
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10215500]
test bl, bl
jne 0x10042678
pop edi
pop esi
not eax
pop ebx
mov dword [ebp + 8], eax
pop ebp
jmp fcn.100425f0

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xcc]
mov eax, dword [ecx + 0xd4]
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 + 0x10215500]
sub edi, 1
jne 0x10042f90
mov ecx, dword [0x1023bb74]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1be0], eax
jne 0x10042fc2
mov dword [ecx + 0x1be8], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x10042fd1
mov byte [ecx + 0x1c20], 1
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10238634]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0x18]
mov ecx, dword [esi + 0xcc]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0x18]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xd4]
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 + 0x10215500]
sub edi, 1
jne 0x100430b4
mov eax, dword [0x1023bb74]
not edx
pop edi
pop esi
cmp dword [eax + 0x1be0], edx
jne 0x100430e5
mov dword [eax + 0x1be8], edx
cmp dword [eax + 0x1c1c], edx
jne 0x100430f4
mov byte [eax + 0x1c20], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.100ed1ec
mov esp, ebp
pop ebp
ret 4
Function at 0x100439f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10043a02
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10043b30
mov esi, eax
add esp, 8
test esi, esi
jne 0x10043a1a
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 0x10043b11
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 0x10043b11
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10043b11
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 0x10043b11
mov eax, dword [0x1023bb74]
test eax, eax
je 0x10043a80
inc dword [eax + 0x370]
push dword [0x1023bc80]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x102365d8]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10043b11
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 0x10043ae1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1023bb74]
add esp, 4
test eax, eax
je 0x10043ac7
dec dword [eax + 0x370]
push dword [0x1023bc80]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x102365dc]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10043af9
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 0x10043b09
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 0x10043d40
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 0x10043d8e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10043d71
cmp edi, 2
jb 0x10043d71
cmp byte [esi], cl
jne 0x10043d71
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10215500]
test edi, edi
jne 0x10043d57
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10043dbd
cmp cl, 0x23
jne 0x10043da4
cmp byte [esi], cl
jne 0x10043da4
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 + 0x10215500]
test cl, cl
jne 0x10043d95
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10044000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
test esi, esi
je 0x10044023
cmp eax, esi
jae 0x10044199
mov cl, byte [eax]
mov byte [ebp - 3], cl
test cl, cl
je 0x10044199
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x10215924]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x10044055
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 0x1004406a
mov bh, byte [esi]
jmp 0x1004406c
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 3], bh
cmp esi, edx
jae 0x1004407a
mov ch, byte [esi]
jmp 0x1004407c
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 2], ch
cmp esi, edx
jae 0x1004408a
mov bl, byte [esi]
jmp 0x1004408c
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp - 1], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x10215944]
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 + 0x1021596c]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x10215958]
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, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x10215980]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10044180
xor eax, eax
mov edx, dword [ebp - 0x10]
cmp byte [ebp - 4], al
setne al
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add eax, ecx
cmp ebx, eax
cmovl eax, ebx
add eax, dword [ebp - 0x18]
inc edx
jmp 0x1004400e
add eax, ebx
test esi, esi
je 0x1004418f
mov edx, dword [ebp - 0x10]
inc edx
jmp 0x1004400e
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 0x10044210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x1c], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x100443d2
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x1004424f
cmp eax, esi
jae 0x100443cd
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x100443cd
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x10215924]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x10044281
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x10044296
mov bh, byte [esi]
jmp 0x10044298
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x100442a6
mov ch, byte [esi]
jmp 0x100442a8
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x100442b6
mov bl, byte [esi]
jmp 0x100442b8
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp + 0xf], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x10215944]
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 + 0x1021596c]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x10215958]
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, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x10215980]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x100443aa
xor eax, eax
mov esi, 0xfffd
cmp byte [ebp + 0xf], al
setne al
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add eax, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add eax, ecx
cmp ebx, eax
cmovl eax, ebx
add eax, dword [ebp - 0x18]
jmp 0x100443b0
add eax, ebx
test esi, esi
je 0x100443ca
mov ecx, dword [ebp - 0x10]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x1c]
jb 0x10044240
jmp 0x100443cd
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x100443e0
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10045d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x2ef8], 0
lea esi, [edi + 0x2efc]
je 0x10045d9b
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10045d56
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.100505b0
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.10050110
mov edx, dword [esi]
mov ecx, 0x1023bb70
push dword [edi + 0x2ef8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f04]
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
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10050110
pop edi
pop esi
pop ebp
ret
Function at 0x1004ab00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1023bb74]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1bac]
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 dword [ebp - 4], eax
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 + 0x10215500]
sub esi, 1
jne 0x1004ab34
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [ebp - 4]
cmp ecx, esi
jne 0x1004ab7e
inc ecx
test esi, esi
je 0x1004ab6a
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1004ab6f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100506b0
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 0x100581c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x100581e7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.10045e50
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1005820c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.10045e50
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10058231
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.10045e50
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 eax, dword [esi + 0x44]
test eax, eax
je 0x10058272
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.10045e50
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10058297
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.10045e50
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x100582bc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.10045e50
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10053920
Function at 0x10060ef0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10238634]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.100431a0
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
push eax
push dword [0x1023bcd8]
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
movd xmm0, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [edi + 0xc], xmm0
xorps xmm0, xmm0
movss dword [edi + 8], xmm1
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x1023bce0]
mov edx, dword [ebp - 0x10]
sbb edx, dword [0x1023bce4]
call fcn.100ed750
mov edx, dword [0x1023bcec]
mov ecx, dword [0x1023bce8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.100ed750
movss xmm1, dword [ebp - 8]
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 - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [0x1023bce0], eax
mov dword [0x1023bce4], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf4], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf5], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xf7], 0
mov byte [edi + 0xf6], al
call fcn.100431a0
mov esi, eax
cmp byte [esi + 0x34f], 0
je 0x1006102a
cvttss2si ecx, dword [esi + 0xdc]
lea eax, [ebp - 0xc]
push eax
push dword [0x1023bcd8]
mov dword [ebp - 0xc], ecx
cvttss2si ecx, dword [esi + 0xe0]
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1006102a
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xdc], 0xff7fffff
mov dword [esi + 0xe0], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x100610a0
mov ecx, dword [0x1023bcd8]
cmp eax, ecx
je 0x1006105e
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100610a0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100610a0
lea eax, [ebp - 0x1c]
push eax
push dword [0x1023bcd8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100610a0
movd xmm0, dword [ebp - 0x1c]
movd xmm1, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xdc], xmm0
movss dword [esi + 0xe0], xmm1
cmp byte [edi + 0xa8], 0
pop edi
pop esi
je 0x100610b0
or eax, 0xffffffff
jmp 0x100610b5
call fcn.100432a0
cmp dword [0x10236798], eax
je 0x100610c7
mov dword [0x10236798], eax
call fcn.100613a0
call fcn.100610e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ed1ec
mov esp, ebp
pop ebp
ret
Function at 0x10071b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f1f5d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10238634]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
push ecx
push eax
mov dword [ebp - 0x34], 0x42a00000
mov dword [ebp - 0x30], 0x41b00000
call fcn.1006c120
add esp, 0xc
test al, al
je 0x10071b80
mov eax, dword [edi]
mov dword [eax], 1
mov eax, dword [edi]
cmp dword [eax], 0
je 0x10071bc2
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x1021a138
push dword [esi]
call ebx
test al, al
jns 0x10071bb2
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [edi]
mov dword [eax + 4], 1
mov eax, dword [edi]
mov dword [eax], 0
add esi, 4
cmp esi, 0x1021a3d0
jne 0x10071b92
mov eax, dword [edi]
mov ebx, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
jne 0x10071bde
cmp dword [eax], 0
je 0x10071bde
push 0x1b
push 0x1021a7e0
lea ecx, [ebp - 0x28]
call fcn.1000b5d0
jmp 0x10071c0c
mov eax, dword [ebx]
mov edx, dword [eax*4 + 0x102367a0]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10071bf0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000b5d0
mov eax, dword [edi]
mov dword [eax + 4], 0
sub esp, 8
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
call fcn.1004d440
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100799d0
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x10071c6d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10071c63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10071c63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ecec4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ed1ec
mov esp, ebp
pop ebp
ret