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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.10027db0
mov esi, eax
mov ecx, edi
mov edx, esi
neg edx
call fcn.100ec570
or edx, 0xffffffff
mov ecx, edi
sub edx, esi
mov ebx, eax
call fcn.100ec240
movzx ecx, bl
xor ecx, 0x811c9dc5
mov esi, dword [ebp - 4]
imul edx, ecx, 0x1000193
mov ecx, ebx
shr ecx, 8
movzx eax, cl
xor edx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, edx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
xor eax, ebx
imul eax, eax, 0x1000193
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
call fcn.10037750
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1004255e
mov ecx, dword [esi + 4]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10085fe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x101a0825
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [edx + 0x14], 0x10
push ebx
mov ebx, dword [edx + 0x10]
push esi
push edi
mov esi, edx
jb 0x1008600e
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x10086031
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x10086020
push edi
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.10085ea0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1008605f
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x1026a5fc], 0x71c71c7
jne 0x10086076
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x1026a5f8
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.1019a153
add esp, 4
mov ebx, eax
mov dword [ebp - 0x18], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.10011ff0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x20], ecx
mov ecx, dword [0x1026a5fc]
mov esi, dword [0x1026a610]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, esi
addsd xmm0, qword [eax*8 + 0x10251df0]
cvtdq2pd xmm1, xmm1
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x10251df0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x1026a5f4]
comiss xmm2, xmm1
jbe 0x10086155
divss xmm0, xmm1
call fcn.10014820
call fcn.1019b850
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x10086137
cmp esi, 0x200
jae 0x10086135
shl esi, 3
cmp esi, ecx
jae 0x10086137
mov esi, ecx
push esi
call fcn.10086250
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10085ea0
mov ecx, dword [0x1026a5fc]
mov edx, dword [eax]
jmp 0x10086158
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 4]
inc ecx
mov dword [0x1026a5fc], ecx
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov dword [esi], ebx
mov dword [edx + 4], ebx
mov eax, dword [0x1026a60c]
mov ecx, dword [0x1026a600]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x1026a5f8]
jne 0x10086189
mov dword [ecx + eax*8], ebx
jmp 0x10086198
cmp edi, edx
jne 0x10086192
mov dword [ecx + eax*8], ebx
jmp 0x1008619c
cmp dword [ecx + eax*8 + 4], esi
jne 0x1008619c
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100a8590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push 0x101c4820
push 0x64
mov esi, edx
call fcn.1019aa73
mov edi, eax
add esp, 8
test edi, edi
je 0x100a873a
push 0x63
lea ecx, [edi + 1]
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi], 1
lea eax, [edi + 4]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 0xc
mov dword [0x1029bfa8], edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push str.885283795044016130
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.100a7450
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x1026a8c4
mov dword [0x1029bfac], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100a8635
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
test esi, esi
je 0x100a864a
movups xmm0, xmmword [esi]
movups xmmword [0x1029be90], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x100a8654
xorps xmm0, xmm0
movups xmmword [0x1029be90], xmm0
movq qword [0x1029bea0], xmm0
xorps xmm0, xmm0
push 0x1026a8c4
movups xmmword [0x1029c0b0], xmm0
movq qword [0x1029c0c0], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x102a01d0], 0
jne 0x100a8744
mov eax, str.885283795044016130
mov dword [0x1028b970], 0x10266878
mov esi, 1
mov edx, 0x1028b980
sub esi, eax
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x100a86b7
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x100a86a4
mov esi, dword [0x1029bfa8]
mov al, 1
mov byte [edx], 0
mov dword [0x102a01d0], 0x1028b970
mov dword [0x1028b978], 0x100a8af0
mov dword [0x1028b97c], 0x100a8b00
xchg byte [esi], al
push 4
call fcn.1019a153
add esp, 4
lea ecx, [ebp - 4]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100a9060
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x100a872b
cmp dword [esi + 0x60], 0
je 0x100a871c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x1029bfa8], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100a9810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x102a01d0]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x100a98c7
mov eax, dword [edi]
test eax, eax
je 0x100a9880
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x100a9880
test ebx, ebx
je 0x100a9880
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x100a9880
cmp dword [ebp + 0xc], esi
je 0x100a98c7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100a98a0
mov eax, dword [edi + 4]
cmp eax, 3
je 0x100a9894
cmp eax, 1
jne 0x100a98a0
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ae2f0
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 0x100ae33c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100ae31f
cmp edi, 2
jb 0x100ae31f
cmp byte [esi], cl
jne 0x100ae31f
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 + 0x10203010]
test edi, edi
jne 0x100ae305
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100ae36b
cmp cl, 0x23
jne 0x100ae352
cmp byte [esi], cl
jne 0x100ae352
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 + 0x10203010]
test cl, cl
jne 0x100ae343
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100ae480
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100ae494
mov dword [edi], 0
mov edx, 0x102467dc
call fcn.100ae380
mov esi, eax
test esi, esi
je 0x100ae590
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 - 4], eax
cmp eax, 0xffffffff
je 0x100ae586
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 0x100ae586
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x100ae586
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 0x100ae586
mov eax, dword [0x1026a4b8]
test eax, eax
je 0x100ae510
inc dword [eax + 0x370]
push dword [0x1026a4b4]
push ebx
call fcn.100adb50
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100ae586
push esi
push dword [ebp + 8]
push 1
push ebx
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 0x100ae56b
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1026a4b8]
add esp, 4
test eax, eax
je 0x100ae553
dec dword [eax + 0x370]
push dword [0x1026a4b4]
push ebx
call fcn.100adb70
add esp, 8
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 edi, edi
je 0x100ae57d
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
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 0x100b09a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xe4]
mov eax, dword [ecx + 0xec]
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 + 0x10203010]
sub edi, 1
jne 0x100b09c0
mov ecx, dword [0x1026a4b8]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1be0], eax
jne 0x100b09f2
mov dword [ecx + 0x1be4], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x100b0a01
mov byte [ecx + 0x1c20], 1
pop ebp
ret 4

Function at 0x100b0a10
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 + 0x14]
mov ecx, dword [esi + 0xe4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x18]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x18]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xec]
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 + 0x10203010]
sub edi, 1
jne 0x100b0a80
mov eax, dword [0x1026a4b8]
not edx
pop edi
pop esi
cmp dword [eax + 0x1be0], edx
jne 0x100b0ab1
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x100b0ac0
mov byte [eax + 0x1c20], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b5290
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 0x100b52cd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x100b52b3
cmp byte [esi], bl
jne 0x100b52b3
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 + 0x10203010]
test bl, bl
jne 0x100b52a4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.100b5220

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1026a4b8]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1bac]
mov esi, 4
mov eax, dword [edi + 0xe4]
add edi, 0xe4
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
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 + 0x10203010]
sub esi, 1
jne 0x100ba7f7
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [ebp - 8]
cmp ecx, esi
jne 0x100ba841
inc ecx
test esi, esi
je 0x100ba82d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x100ba832
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100c11f0
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 0x100bfc70
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 + 0x2f6c], 0
lea esi, [edi + 0x2f70]
je 0x100bfcf2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100bfcac
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.100c14e0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.100af010
mov edx, dword [esi]
mov ecx, 0x1026a4b1
push dword [edi + 0x2f6c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f78]
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.100af010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c2c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100c2c7c
mov eax, dword [0x1026a4b8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x100c2c66
dec dword [eax + 0x370]
push dword [0x1026a4b4]
push ecx
call fcn.100adb70
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100c2cb6
mov eax, dword [0x1026a4b8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x100c2ca0
dec dword [eax + 0x370]
push dword [0x1026a4b4]
push ecx
call fcn.100adb70
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100c2cf0
mov eax, dword [0x1026a4b8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x100c2cda
dec dword [eax + 0x370]
push dword [0x1026a4b4]
push ecx
call fcn.100adb70
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 0x100c2d46
mov eax, dword [0x1026a4b8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x100c2d30
dec dword [eax + 0x370]
push dword [0x1026a4b4]
push ecx
call fcn.100adb70
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100c2d80
mov eax, dword [0x1026a4b8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x100c2d6a
dec dword [eax + 0x370]
push dword [0x1026a4b4]
push ecx
call fcn.100adb70
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100c2dba
mov eax, dword [0x1026a4b8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x100c2da4
dec dword [eax + 0x370]
push dword [0x1026a4b4]
push ecx
call fcn.100adb70
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100c57c0
Function at 0x100ca420
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, dword [0x1026a4b8]
mov dword [esp + 8], esi
push edi
test esi, esi
je 0x100ca442
mov ebx, dword [esi + 0xc4]
jmp 0x100ca444
xor ebx, ebx
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x2c], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
movd xmm1, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x18]
mov ecx, edi
sub ecx, dword [ebx + 8]
mov esi, dword [esp + 0x1c]
mov edx, esi
sbb edx, dword [ebx + 0xc]
call fcn.1019bbd0
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.1019bbd0
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0xc]
push 0x11
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0xc], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebx + 8], edi
call esi
mov edi, dword [esp + 0xc]
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xfd], al
call esi
mov esi, dword [0x1026a4b8]
shr eax, 0xf
and al, 1
mov byte [edi + 0xff], 0
mov byte [edi + 0xfe], al
test esi, esi
je 0x100ca52e
mov edi, dword [esi + 0xc4]
jmp 0x100ca530
xor edi, edi
cmp byte [esi + 0x357], 0
je 0x100ca570
cvttss2si eax, dword [esi + 0xe4]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x100ca570
push dword [esp + 0x14]
push dword [esp + 0x14]
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 0x100ca5e2
mov ecx, dword [edi]
cmp eax, ecx
je 0x100ca5a0
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100ca5e2
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100ca5e2
lea eax, [esp + 0x20]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100ca5e2
movd xmm0, dword [esp + 0x20]
movd xmm1, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xb0], 0
je 0x100ca5f4
or eax, 0xffffffff
jmp 0x100ca5ff
mov eax, dword [0x1026a4b8]
mov eax, dword [eax + 0x1e84]
cmp dword [ebx + 0x18], eax
je 0x100ca60c
mov dword [ebx + 0x18], eax
call fcn.100ca070
call fcn.100ca1a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100db970
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push esi
push edi
mov edi, edx
je 0x100db9e0
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x100db9b8
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x100db99f
cmp byte [esi], cl
jne 0x100db99f
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 + 0x10203010]
test cl, cl
jne 0x100db990
mov ecx, dword [0x1026a4b8]
not eax
cmp dword [ecx + 0x1be0], eax
jne 0x100db9ce
mov dword [ecx + 0x1be4], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x100dba25
pop edi
mov byte [ecx + 0x1c20], 1
pop esi
ret
mov esi, dword [0x1026a4b8]
xor edx, edx
mov eax, dword [esi + 0x1bac]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.100ae2f0
add esp, 4
cmp dword [esi + 0x1be0], eax
jne 0x100dba16
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x100dba25
mov byte [esi + 0x1c20], 1
pop edi
pop esi
ret
Function at 0x100f9e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, ecx
mov dword [esp + 0x10], edx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x1c], ebx
sub ecx, dword [eax]
sub ecx, 0x10
sar ecx, 4
sub ecx, edi
je 0x100fa016
dec ecx
mov edx, edi
mov dword [esp + 0x24], ecx
mov ecx, ebx
call fcn.100ec0e0
cmp eax, 0x10207740
je 0x100f9fdd
mov eax, dword [eax + 8]
and eax, 0xf
cmp al, 3
jne 0x100f9fdd
mov edx, edi
mov ecx, ebx
call fcn.100ec0e0
mov edx, edi
mov ecx, ebx
cmp dword [eax + 8], 0x13
jne 0x100f9f20
call fcn.100ec0e0
cmp dword [eax + 8], 0x13
jne 0x100f9ee8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jmp 0x100f9f05
push 0
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.1010d7a0
add esp, 4
test eax, eax
jne 0x100f9f05
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push str._lld
push dword [esp + 0x24]
call fcn.100a73c0
jmp 0x100f9fab
call fcn.100ec0e0
mov ecx, dword [eax + 8]
cmp ecx, 3
jne 0x100f9f33
movsd xmm0, qword [eax]
jmp 0x100f9f91
cmp ecx, 0x13
jne 0x100f9f44
mov edx, dword [eax + 4]
mov ecx, dword [eax]
call fcn.1019bbd0
jmp 0x100f9f91
and cl, 0xf
cmp cl, 4
jne 0x100f9f8e
mov ecx, dword [eax]
cmp byte [ecx + 4], 4
jne 0x100f9f5a
movzx ebx, byte [ecx + 7]
jmp 0x100f9f5d
mov ebx, dword [ecx + 0xc]
add ecx, 0x10
lea edx, [esp + 0x30]
call fcn.100ff630
lea ecx, [ebx + 1]
cmp eax, ecx
jne 0x100f9f8e
cmp dword [esp + 0x38], 0x13
jne 0x100f9f86
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
call fcn.1019bbd0
jmp 0x100f9f91
movsd xmm0, qword [esp + 0x30]
jmp 0x100f9f91
xorps xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x24]
call fcn.100a73c0
mov ebx, dword [esp + 0x2c]
add esp, 0x10
test esi, esi
je 0x100f9fb6
test eax, eax
jg 0x100fa00f
xor esi, esi
mov ecx, dword [esp + 0x24]
inc edi
test ecx, ecx
jne 0x100f9e94
test esi, esi
jne 0x100fa016
push esi
xor edx, edx
mov ecx, ebx
call fcn.100edd60
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov edx, edi
push eax
mov ecx, ebx
call fcn.100ec470
add esp, 4
test eax, eax
je 0x100fa022
test esi, esi
je 0x100f9fb6
push dword [esp + 0x18]
mov esi, dword [esp + 0x24]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x100f9fb6
mov esi, 1
jmp 0x100f9fb8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 4
mov edx, edi
mov ecx, ebx
call fcn.100edca0
int3