joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bfc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4af040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40bff0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40c02c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40c02c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40c103
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40c054
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40c060
movsx eax, bl
jmp 0x40c098
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x40c0c2
sub eax, 1
je 0x40c0c2
sub eax, 2
jne 0x40c103
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40c0e0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40c103
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret 4
Function at 0x40c840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4af040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40c8fc
cmp byte [esi + 0x3d], 0
je 0x40c8fc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40c8ea
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40c8b1
sub eax, 1
je 0x40c8b5
sub eax, 2
jne 0x40c8ea
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40c8d3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40c8ea
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret

Function at 0x40e450
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push 0
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
push eax
push dword [0x4af92c]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp + 0x18]
je 0x40e489
mov eax, dword [0x4b3e48]
inc eax
mov dword [0x4b3e48], eax
cmp eax, 0xa
jge fcn.0040e4d0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x40e4bf
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e4b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e4b5
jmp dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
pop ebp
ret

Function at 0x40e4f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44146d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4af040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.0043fcb0
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x40e710
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x40e572
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x40e590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4414ad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4af040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 0xc]
push 0x1c
call fcn.0043fcb0
mov edi, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [edi + 0x18], 0x43f8d0
call fcn.0040e690
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040e690
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 4]
push eax
push 0
push edi
push 0x40e770
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 0x40e680
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0040e690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [esi + 4], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x40e850
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x4af040]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov esi, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 0xf
jbe 0x40e878
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
test edx, edx
je 0x40e8e4
push 0x100
lea eax, [esp + 0x3c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x4a8de0
nop dword [eax + eax]
movzx eax, byte [ecx]
inc ecx
mov byte [esp + eax + 0x38], 1
cmp ecx, 0x4a8de2
jne 0x40e8a0
mov edx, dword [esi + 0x10]
or ecx, 0xffffffff
lea eax, [edx - 1]
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + edi]
add ecx, edi
cmp byte [esp + eax + 0x38], 0
jne 0x40e8e0
nop dword [eax]
cmp ecx, edi
je 0x40e8e4
movzx eax, byte [ecx - 1]
dec ecx
cmp byte [esp + eax + 0x38], 0
je 0x40e8d0
sub ecx, edi
jmp 0x40e8e7
or ecx, 0xffffffff
cmp edx, ecx
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
cmovb ecx, edx
movaps xmmword [esp + 0x10], xmm0
cmp dword [esi + 0x14], 0xf
jbe 0x40e90c
mov esi, dword [esi]
push ecx
push esi
lea ecx, [esp + 0x18]
call fcn.0040d7f0
cmp dword [esp + 0x24], 0xf
lea eax, [esp + 0x10]
push 0
cmova eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40e944
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0xb], 0
cmp eax, 0xb7
jne 0x40e949
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x40e981
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e977
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e977
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [esp + 0x13c]
mov al, byte [esp + 0xb]
pop edi
pop esi
xor ecx, esp
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret
Function at 0x4112a0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4417ed
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4af040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], 0x84a3e1ae
nop dword [eax]
lea eax, [ecx - 0x7f]
xor byte [ebp + ecx - 0x14], al
inc ecx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jb 0x4112e0
lea ecx, [ebp - 0x14]
mov byte [ebp + eax - 0x14], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411300
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x411434
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push edx
cmova eax, dword [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
call fcn.0040de70
cmp dword [ebp - 0x34], 0xf
lea edx, [ebp - 0x48]
mov dword [ebp - 0x24], 7
cmova edx, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x20], 0xaae7efe2
mov dword [ebp - 0x1c], 0x88e2fee0
nop dword [eax + eax]
lea eax, [ecx - 0x7f]
xor byte [ebp + ecx - 0x20], al
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x411360
mov byte [ebp + eax - 0x20], 0
xor ecx, ecx
mov eax, 4
mov dword [ebp - 0x2c], 0xeae6f2ee
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x28], 0x85
mov word [ebp - 0x27], cx
mov byte [ebp - 0x25], cl
lea eax, [ecx - 0x7f]
xor byte [ebp + ecx - 0x2c], al
inc ecx
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jb 0x411390
push 0
push 0
mov byte [ebp + eax - 0x2c], 0
lea eax, [ebp - 0x20]
push edx
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x4113ef
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4113e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4113e5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x411425
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41141b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41141b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043ff31
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
call fcn.00408430
int3
Function at 0x4132d0
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 0x413331
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x413314
cmp edi, 2
jb 0x413314
cmp byte [esi], cl
jne 0x413314
cmp byte [esi + 1], cl
jne 0x413314
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4543f8]
jmp 0x4132e5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4543f8]
test edi, edi
jne 0x4132e5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x413360
cmp cl, 0x23
jne 0x413347
cmp byte [esi], cl
jne 0x413347
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 + 0x4543f8]
test cl, cl
jne 0x413338
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x413500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x413512
mov dword [edi], 0
mov edx, 0x4a8f10
call fcn.00413370
mov esi, eax
test esi, esi
jne 0x413526
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 0x4135de
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 0x4135de
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 0x4135de
mov eax, dword [0x4af98c]
test eax, eax
je 0x413576
inc dword [eax + 0x370]
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 0x4135de
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 0x4135c5
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x4af98c]
add esp, 4
test eax, eax
je 0x4135b4
dec dword [eax + 0x370]
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 0x4135d7
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 0x4156c0
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
push 0xffffffffffffffff
push 0x441913
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4af040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4af98c]
test eax, eax
je 0x41570a
inc dword [eax + 0x370]
push 0x3b48
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x11]
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41573e
push ecx
mov ecx, eax
call fcn.00411d80
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x415743
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [0x4af98c], 0
jne 0x415753
mov eax, edi
mov dword [0x4af98c], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
mov al, 0x57
mov esi, 0x4a8e61
or edi, 0xffffffff
nop
cmp al, 0x23
jne 0x41577e
cmp byte [esi], al
jne 0x41577e
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 + 0x4543f8]
test al, al
jne 0x415770
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x421df0
mov dword [ebp - 0x2c], 0x421e90
mov esi, dword [edi + 0x2d08]
mov ecx, dword [edi + 0x2d0c]
mov dword [ebp - 0x28], 0x421f80
cmp esi, ecx
jne 0x415858
inc esi
test ecx, ecx
je 0x4157d8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x4157dd
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x415858
mov eax, dword [0x4af98c]
test eax, eax
je 0x4157f5
inc dword [eax + 0x370]
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, eax
add esp, 4
mov eax, dword [edi + 0x2d10]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41584c
mov ecx, dword [edi + 0x2d08]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x4af98c]
add esp, 0xc
test eax, eax
je 0x41583d
dec dword [eax + 0x370]
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [edi + 0x2d10], edx
mov dword [edi + 0x2d0c], esi
mov eax, dword [edi + 0x2d08]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2d10]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2d08]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x417ff0
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 0x41802f
cmp bl, 0x23
jne 0x418011
cmp byte [esi], bl
jne 0x418011
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 + 0x4543f8]
test bl, bl
jne 0x418002
mov ecx, dword [0x4af98c]
not eax
mov esi, dword [ecx + 0x199c]
mov edi, dword [ecx + 0x19a4]
lea ebx, [edi + esi*8]
test esi, esi
je 0x41806e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x418068
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x41806a
mov esi, edx
test esi, esi
jne 0x418050
cmp edi, ebx
je 0x41807d
cmp dword [edi], eax
jne 0x41807d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x41d2a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4af040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4af98c]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x19ac]
mov esi, 4
mov eax, dword [edi + 0x1c4]
add edi, 0x1c4
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4543f8]
sub esi, 1
jne 0x41d2e0
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x41d327
inc ecx
test esi, esi
je 0x41d315
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x41d31a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.004226b0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043fbc2
mov esp, ebp
pop ebp
ret
Function at 0x421930
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x4af98c]
push esi
mov esi, ebx
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edi, dword [esi + 0x2d14]
mov ecx, dword [esi + 0x2d18]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xc], 0
cmp edi, ecx
jne 0x421a1c
inc edi
test ecx, ecx
je 0x421996
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x42199b
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x421a1c
test esi, esi
je 0x4219ae
inc dword [esi + 0x370]
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, dword [esi + 0x2d1c]
add esp, 4
mov dword [ebp - 4], eax
test ebx, ebx
je 0x421a0a
mov ecx, dword [esi + 0x2d14]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x4af98c]
add esp, 0xc
test eax, eax
je 0x4219fd
dec dword [eax + 0x370]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 4]
add esp, 4
mov ebx, dword [0x4af98c]
mov dword [esi + 0x2d1c], eax
mov dword [esi + 0x2d18], edi
mov eax, dword [esi + 0x2d14]
mov ecx, dword [esi + 0x2d1c]
movups xmm0, xmmword [ebp - 0x24]
mov edi, dword [ebp - 8]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 0xc]
movups xmmword [ecx + edx*4], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x18], eax
inc dword [esi + 0x2d14]
mov eax, dword [esi + 0x2d14]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2d1c]
mov esi, edi
lea eax, [eax + ecx*4]
add eax, 0xffffffe4
lea ecx, [esi + 1]
mov dword [ebp - 4], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x421a77
sub esi, ecx
test ebx, ebx
je 0x421a8a
inc dword [ebx + 0x370]
inc esi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebp - 4]
lea esi, [edi + 1]
add esp, 0x10
or edx, 0xffffffff
mov dword [ebx], eax
mov al, byte [edi]
test al, al
je 0x421ad8
or edi, 0xffffffff
cmp al, 0x23
jne 0x421abf
cmp byte [esi], al
jne 0x421abf
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 + 0x4543f8]
test al, al
jne 0x421ab1
pop edi
not edx
mov eax, ebx
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret