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

Disassembly:
mov ch, cl
mov dh, bh
or al, 0xf5
cmp eax, 0xb22f
jo 0x100646e
movzx esi, dx
dec dh
mov bl, 0x3c
cmp esi, 0x6c69
ja 0x100647e
sub eax, 0xb8af7950
neg cl
bswap eax
imul esi, ecx, 0xe4cdc941
push 0xfffe7c7d
pop edx
and ah, dh
sub edx, 0x1488
cmp eax, eax
mov eax, 0x7429ce98
jbe 0x10064a5
imul ebx, ecx, 0x3243bf52
imul esi, ecx, 0x5a631f5e
mov bh, dh
inc ebx
push 0xfffff4b2
pop ebp
imul eax, edx, 0x7628a17c
add ebp, 0xb4e
mov eax, 0xa2cb1212
xor ebp, edx
cmp bl, 0x18
mov bh, ch
add ebp, 0x1980b
test esi, edx
xor ebp, edx
neg ecx
add edi, ebp
imul esi, eax, 0xe0ef9d6f
popfd
out dx, eax
loopne 0x100649b
pop ebp
std
jle 0x1006521
bswap ebp
call 0x10064f3
mov bh, dh
add al, 0xb7
cmp edi, esi
cmp ecx, 0xefdf
jb 0x1006502
test cl, 0x66
xor bl, ah
dec esi
imul ebx, edx, 0x55351de3
adc ebx, 0xde0db95e
cmp ebp, ebx
pop edx
test esi, eax
inc edi
lea ebp, [0xc6d59e8a]
lea eax, [0]
inc edi
xor bl, 0x49
adc bl, 0xaf
not ebx
add eax, 0xb13
xchg bh, ch
sub eax, 0xb12
bswap edi
xor esi, 0x68c240fb
cmp eax, 0x7c3
jb 0x1006521
movd mm2, edx
mov ebx, edx
jb 0x100654e
movsx eax, bx
jne 0x100655a
not bh
lea edi, [0xe67f1045]
xchg bh, al
cmp ecx, 0x3625
movd esi, mm2
cmp dl, cl
mov ah, 0xe
test edi, ebx
mov ebp, 0xa2a9
neg cl
xor ebp, 0x5a8e
test ecx, 0x6ed3a208
xor ebp, 0xf5d
imul eax, edx, 0xb90bf89f
add ecx, ecx
neg bh
mov edx, 0x1f84
jmp 0x1006599
xor edx, 0x1332
inc eax
xor edx, 0xcb6
cmp ah, 0x8e
lea edx, [ebp]
not bl
imul edx, edx, 0x1c
add esi, edx
mov bh, 0x44
bswap ecx
bswap edi
push edi
push esi
adc eax, 0xace68f81
ret

Function at 0x100672a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006741
xor eax, eax
jmp 0x1006749
shr eax, 4
not eax
and eax, 1
pop ebp
ret 4
Function at 0x10003f80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push 0x1007f510
push 0x64
mov esi, edx
call fcn.100796de
mov edi, eax
add esp, 8
test edi, edi
je 0x10004146
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 [0x101472e0], edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push 0x10080668
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.100030f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x1012583c
mov dword [0x1014b404], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10004026
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x10125868]
cmp eax, 0x7fffffff
jne 0x10004040
dec eax
push 6
mov dword [0x10125868], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test esi, esi
je 0x10004055
movups xmm0, xmmword [esi]
movups xmmword [0x101471c8], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x1000405f
xorps xmm0, xmm0
movups xmmword [0x101471c8], xmm0
movq qword [0x101471d8], xmm0
xorps xmm0, xmm0
push 0x1012583c
movups xmmword [0x101473e8], xmm0
movq qword [0x101473f8], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x1014b508], 0
jne 0x10004150
mov ecx, 0x10080668
mov dword [0x1014b610], 0x101222d8
mov esi, 1
mov edx, 0x1014b620
sub esi, ecx
nop
lea eax, [ecx + esi]
cmp eax, 0x40
jae 0x100040c3
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp byte [ecx], 0
jne 0x100040b0
mov esi, dword [0x101472e0]
mov al, 1
mov byte [edx], 0
mov dword [0x1014b508], 0x1014b610
mov dword [0x1014b618], 0x10004530
mov dword [0x1014b61c], 0x10004540
xchg byte [esi], al
push 4
call fcn.100796ae
add esp, 4
lea ecx, [ebp - 4]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100048c0
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 0x10004137
cmp dword [esi + 0x60], 0
je 0x10004128
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 [0x101472e0], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004f90
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 [0x1014b508]
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 0x10005047
mov eax, dword [edi]
test eax, eax
je 0x10005000
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10005000
test ebx, ebx
je 0x10005000
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 0x10005000
cmp dword [ebp + 0xc], esi
je 0x10005047
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10005020
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10005014
cmp eax, 1
jne 0x10005020
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 0x1000f2c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp byte [0x1015ef53], 0
push esi
mov esi, ecx
je 0x1000f3a0
cmp byte [0x1015ef90], 0
je 0x1000f2f5
push dword [0x1015efac]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1000f3a0
mov eax, dword [0x1015eee4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000f3a0
call fcn.1000cc70
cmp dword [eax], 0
jne 0x1000f3a0
mov eax, dword [0x1015eee4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x25c]
cmp eax, 9
je 0x1000f3a0
cmp eax, 8
je 0x1000f3a0
call fcn.1000e400
test dword [eax], 0x400
jne 0x1000f3a0
cmp byte [0x1015bce8], 0
jne 0x1000f358
cmp byte [0x1015bcd4], 0
je 0x1000f358
or dword [esi + 0x30], 2
mov byte [0x1015bcd4], 0
pop esi
mov esp, ebp
pop ebp
ret
test byte [esi + 0x30], 2
je 0x1000f392
mov eax, dword [0x1015eee4]
mov ecx, dword [eax]
call fcn.1000e400
test byte [eax], 1
je 0x1000f382
mov al, 1
mov byte [0x1015bcd4], 1
mov byte [0x1015bce8], al
pop esi
mov esp, ebp
pop ebp
ret
and dword [esi + 0x30], 0xfffffffd
xor al, al
mov byte [0x1015bce8], al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x1015bce8], 0
mov byte [0x1015bcd4], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000fd60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp byte [0x1015ef80], 0
push esi
mov esi, ecx
je 0x1000fe39
push dword [0x1015ef84]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000fe39
cmp byte [0x1015ef81], 0
je 0x1000fe39
mov eax, dword [0x1015b820]
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [0x1015f414]
jbe 0x1000fdb3
mov byte [0x1015bcd5], 0
mov eax, dword [0x1015eee4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x1000fdc9
mov dword [0x1015f414], ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x25c]
cmp eax, 9
je 0x1000fe39
cmp eax, 8
je 0x1000fe39
call fcn.1000e400
test byte [eax], 1
mov eax, dword [0x1015b820]
je 0x1000fdf3
mov ecx, dword [eax + 0x1c]
mov dword [0x1015f458], ecx
jmp 0x1000fdf9
mov ecx, dword [0x1015f458]
mov eax, dword [eax + 0x1c]
sub eax, ecx
cmp eax, 2
jg 0x1000fe39
mov eax, dword [0x1015eee4]
mov ecx, dword [eax]
call fcn.1000e400
test byte [eax], 1
jne 0x1000fe39
mov eax, dword [0x1015b820]
or dword [esi + 0x30], 4
mov byte [0x1015bcd5], 1
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x100e047c]
movss dword [0x1015f414], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x10081994
push dword [ebp + 8]
lea eax, [ebp + 8]
mov edi, ecx
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x10014fc6
push 2
push 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10014fc6
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10014f2a
lea esi, [eax + 1]
jmp 0x10014f36
xor esi, esi
mov ecx, 1
test eax, eax
cmove esi, ecx
lea eax, [esi + ebx]
push eax
call fcn.10079cec
add esp, 4
mov dword [ebp - 4], eax
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
push dword [ebp + 8]
push ebx
push 1
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
jne 0x10014fc6
test esi, esi
je 0x10014f80
mov eax, dword [ebp - 4]
push esi
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ebx, dword [ebp - 4]
add esp, 4
mov ecx, edi
push dword [ebp + 0xc]
push ebx
call fcn.10015100
push ebx
call fcn.10079ce7
mov eax, dword [edi + 0x28]
add esp, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10014fbf
nop dword [eax]
cmp ecx, 0x20
jne 0x10014fd1
mov ecx, dword [eax + 4]
add eax, 4
test ecx, ecx
jne 0x10014fb0
mov dword [edi + 0x2c], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x2c], eax
test eax, eax
je 0x10014fc6
push 0x20
call fcn.100796ae
xorps xmm0, xmm0
mov dword [ebp + 0xc], eax
add esp, 4
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_class_valve_parser::node_.0
mov dword [ecx], vtable.valve_parser::node.0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], edi
mov esi, dword [edi + 0x34]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
test esi, esi
je 0x10015056
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10015056
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10015056
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [edi + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10031470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10031482
mov dword [edi], 0
mov edx, 0x10081994
call fcn.100312c0
mov esi, eax
test esi, esi
jne 0x10031496
pop edi
pop esi
pop ebp
ret
push ebx
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 0x1003154e
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x1003154e
push 0
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 0x1003154e
mov eax, dword [0x101257f8]
test eax, eax
je 0x100314e6
inc dword [eax + 0x36c]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003154e
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 0x10031535
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x101257f8]
add esp, 4
test eax, eax
je 0x10031524
dec dword [eax + 0x36c]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10031547
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
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 0x100331b0
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 + 0x1c0]
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 + 0x1c8]
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 + 0x100d8560]
sub edi, 1
jne 0x10033220
mov eax, dword [0x101257f8]
not edx
pop edi
pop esi
cmp dword [eax + 0x19ac], edx
jne 0x10033251
mov dword [eax + 0x19b4], edx
cmp dword [eax + 0x19b0], edx
jne 0x10033260
mov byte [eax + 0x19c0], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x100339c0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1007d083
push eax
mov dword fs:[0], esp
mov eax, dword [0x101257f8]
push ebx
sub esp, 0x28
push esi
push edi
test eax, eax
je 0x10033a00
inc dword [eax + 0x36c]
push 0x3a80
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0x11]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10033a34
push ecx
mov ecx, eax
call fcn.1002fa80
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x10033a39
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [0x101257f8], 0
jne 0x10033a49
mov eax, edi
mov dword [0x101257f8], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
mov esi, 0x100dd929
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x10033a72
cmp byte [esi], al
jne 0x10033a72
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100d8560]
test al, al
jne 0x10033a64
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x10040cf0
mov dword [ebp - 0x2c], 0x10040d90
mov esi, dword [edi + 0x2c50]
mov ecx, dword [edi + 0x2c54]
mov dword [ebp - 0x28], 0x10040e60
cmp esi, ecx
jne 0x10033b4f
inc esi
test ecx, ecx
je 0x10033acc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10033ad1
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x10033b4f
mov eax, dword [0x101257f8]
test eax, eax
je 0x10033ae9
inc dword [eax + 0x36c]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x2c58]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x10033b43
mov ecx, dword [edi + 0x2c50]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x2c58]
add esp, 0xc
test ecx, ecx
je 0x10033b36
mov eax, dword [0x101257f8]
test eax, eax
je 0x10033b36
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [edi + 0x2c58], eax
mov dword [edi + 0x2c54], esi
mov eax, dword [edi + 0x2c50]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2c58]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2c50]
mov ecx, dword [ebp - 0xc]
mov byte [edi], 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100365f0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1003662f
cmp bl, 0x23
jne 0x10036611
cmp byte [esi], bl
jne 0x10036611
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x100d8560]
test bl, bl
jne 0x10036602
mov ecx, dword [0x101257f8]
not eax
mov esi, dword [ecx + 0x197c]
mov edi, dword [ecx + 0x1984]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1003666e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10036668
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1003666a
mov esi, edx
test esi, esi
jne 0x10036650
cmp edi, ebx
je 0x1003667d
cmp dword [edi], eax
jne 0x1003667d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1003ba40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101257f8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x198c]
mov esi, 4
mov ebx, dword [eax + 0x1c8]
lea edi, [eax + 0x1c0]
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov dword [ebp - 8], ecx
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 + 0x100d8560]
sub esi, 1
jne 0x1003ba76
mov eax, dword [ebp - 4]
not ebx
mov esi, dword [edi]
mov ecx, dword [eax + 0x1c4]
cmp esi, ecx
jne 0x1003bac6
inc esi
test ecx, ecx
je 0x1003bab1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1003bab6
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100417d0
mov eax, dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [eax + 0x1c8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040830
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [0x101257f8]
push esi
mov esi, ebx
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edi, dword [esi + 0x2c5c]
mov ecx, dword [esi + 0x2c60]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 8], 0
cmp edi, ecx
jne 0x10040922
inc edi
test ecx, ecx
je 0x10040896
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004089b
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10040922
test esi, esi
je 0x100408ae
inc dword [esi + 0x36c]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [esi + 0x2c64]
test eax, eax
je 0x10040910
mov ecx, dword [esi + 0x2c5c]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2c64]
add esp, 0xc
test ecx, ecx
je 0x10040906
mov eax, dword [0x101257f8]
test eax, eax
je 0x10040906
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x2c64], ebx
mov ebx, dword [0x101257f8]
mov dword [esi + 0x2c60], edi
mov eax, dword [esi + 0x2c5c]
mov ecx, dword [esi + 0x2c64]
movups xmm0, xmmword [ebp - 0x20]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 8]
movups xmmword [ecx + edx*4], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x18], eax
inc dword [esi + 0x2c5c]
mov eax, dword [esi + 0x2c5c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2c64]
mov esi, dword [ebp - 4]
lea edi, [eax + ecx*4]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10040975
sub esi, ecx
test ebx, ebx
je 0x10040988
inc dword [ebx + 0x36c]
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, dword [ebp - 4]
push esi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi - 0x1c], eax
lea esi, [ebx + 1]
mov al, byte [ebx]
add esp, 0x10
or edx, 0xffffffff
test al, al
je 0x100409d7
or ebx, 0xffffffff
cmp al, 0x23
jne 0x100409be
cmp byte [esi], al
jne 0x100409be
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100d8560]
test al, al
jne 0x100409b0
not edx
lea eax, [edi - 0x1c]
mov dword [edi - 0x18], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100409f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, edx
mov edx, dword [0x101257f8]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x10040a19
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10040a10
sub esi, ecx
test edx, edx
je 0x10040a23
inc dword [edx + 0x36c]
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
push esi
push edi
push ebx
lea ecx, [ebx + esi]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 4]
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 8], ecx
xor esi, esi
mov byte [edx], 0
cmp ebx, edx
jae 0x10040baa
nop dword [eax + eax]
mov al, byte [ebx]
cmp al, 0xa
je 0x10040bdb
cmp al, 0xd
je 0x10040bdb
mov edi, ebx
cmp ebx, edx
jae 0x10040a87
mov al, byte [edi]
cmp al, 0xa
je 0x10040a87
cmp al, 0xd
je 0x10040a87
inc edi
cmp edi, edx
jb 0x10040a78
mov byte [edi], 0
mov al, byte [ebx]
cmp al, 0x3b
je 0x10040b9f
cmp al, 0x5b
jne 0x10040b83
cmp edi, ebx
jbe 0x10040b83
cmp byte [edi - 1], 0x5d
lea eax, [edi - 1]
mov dword [ebp - 0x14], eax
jne 0x10040b83
lea esi, [ebx + 1]
mov byte [eax], 0
sub eax, esi
push eax
push 0x5d
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
je 0x10040af1
mov edx, dword [ebp - 0x14]
lea ecx, [eax + 1]
sub edx, ecx
push edx
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10040af1
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x10040af8
mov esi, str.Window
mov ecx, ebx
mov ebx, dword [0x101257f8]
lea eax, [ecx + 1]
mov cl, byte [esi]
inc esi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x10040b3f
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x10040b20
cmp byte [esi], cl
jne 0x10040b20
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 + 0x100d8560]
test cl, cl
jne 0x10040b11
mov ebx, dword [0x101257f8]
mov edx, dword [ebx + 0x2c50]
xor ecx, ecx
not eax
test edx, edx
jle 0x10040b60
mov esi, dword [ebx + 0x2c58]
cmp dword [esi + 4], eax
je 0x10040b69
inc ecx
add esi, 0x18
cmp ecx, edx
jl 0x10040b53
xor esi, esi
xor ecx, ecx
mov dword [ebp - 8], ecx
jmp 0x10040b9c
test esi, esi
je 0x10040b62
push dword [ebp - 0x14]
mov eax, dword [esi + 8]
push esi
push dword [ebp - 0xc]
call eax
mov ecx, eax
add esp, 0xc
mov dword [ebp - 8], ecx
jmp 0x10040b9c
test esi, esi
je 0x10040b9f
test ecx, ecx
je 0x10040b9f
mov eax, dword [esi + 0xc]
push ebx
push ecx
push esi
push dword [ebp - 0xc]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
mov edx, dword [ebp - 4]
lea ebx, [edi + 1]
cmp ebx, edx
jb 0x10040a60
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x10040bc3
mov eax, dword [0x101257f8]
test eax, eax
je 0x10040bc3
dec dword [eax + 0x36c]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0xc]
add esp, 4
mov byte [eax + 0x2c3c], 1
mov esp, ebp
pop ebp
ret
inc ebx
jmp 0x10040a60