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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10076040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10005ad0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006067a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10005b0c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10005b0c
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.1006067a
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10005be3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10005b34
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 0x10005b40
movsx eax, bl
jmp 0x10005b78
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 0x10005ba2
sub eax, 1
je 0x10005ba2
sub eax, 2
jne 0x10005be3
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.1006067a
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10005bc0
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 0x10005be3
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.1006067a
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.1006067a
mov esp, ebp
pop ebp
ret 4
Function at 0x10007940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10076040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100079fc
cmp byte [esi + 0x3d], 0
je 0x100079fc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100079ea
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 0x100079b1
sub eax, 1
je 0x100079b5
sub eax, 2
jne 0x100079ea
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006067a
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100079d3
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 0x100079ea
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006067a
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006067a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1006067a
mov esp, ebp
pop ebp
ret

Function at 0x10016bb0
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 0x10016c11
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10016bf4
cmp edi, 2
jb 0x10016bf4
cmp byte [esi], cl
jne 0x10016bf4
cmp byte [esi + 1], cl
jne 0x10016bf4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10068fe8]
jmp 0x10016bc5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10068fe8]
test edi, edi
jne 0x10016bc5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10016c40
cmp cl, 0x23
jne 0x10016c27
cmp byte [esi], cl
jne 0x10016c27
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 + 0x10068fe8]
test cl, cl
jne 0x10016c18
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x10016d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10016d64
mov dword [ebx], 0
mov edx, 0x10068c0c
call fcn.10016c50
mov esi, eax
test esi, esi
je 0x10016e52
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10016e48
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 0x10016e48
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10016e48
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 0x10016e48
mov eax, dword [0x100890f8]
test eax, eax
je 0x10016ddc
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10016e48
push esi
push dword [ebp + 8]
push 1
push edi
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 0x10016e2d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100890f8]
add esp, 4
test eax, eax
je 0x10016e1a
dec dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
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 ebx, ebx
je 0x10016e3f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
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 0x100198c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10076040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x100890f8]
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
cmp byte [esi + 0x47f7], 0
mov edi, dword [esi + 0x3e38]
je 0x1001993a
cmp byte [esi + 0x47f6], 0
jne 0x1001993a
test ebx, 0x400
jne 0x1001993a
test byte [esi + 0x46b0], 4
je 0x1001990f
test ebx, 0x200
je 0x10019927
mov eax, dword [esi + 0x47bc]
mov edx, dword [esi + 0x46ac]
cmp eax, edx
jne 0x10019927
test eax, eax
jne 0x10019a0e
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006067a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x46b4]
test al, 1
je 0x10019927
cmp dword [esi + 0x3e3c], edi
je 0x10019958
test al, al
js 0x10019958
test ebx, 0x100
je 0x10019927
test bl, bl
js 0x1001997c
mov eax, dword [esi + 0x3e84]
test eax, eax
je 0x1001997c
cmp eax, dword [esi + 0x46ac]
je 0x1001997c
cmp byte [esi + 0x3e91], 0
jne 0x1001997c
cmp eax, dword [edi + 0x6c]
jne 0x10019927
mov ecx, dword [esi + 0x47b8]
test ecx, ecx
je 0x100199e1
mov ecx, dword [ecx + 0x2fc]
test ecx, ecx
je 0x100199e1
cmp byte [ecx + 0xa7], 0
je 0x100199e1
mov eax, dword [edi + 0x2fc]
cmp ecx, eax
je 0x100199e1
mov edx, dword [ecx + 8]
test edx, 0x8000000
jne 0x100199bb
test edx, 0x4000000
je 0x100199e1
test bl, 0x20
jne 0x100199e1
cmp dword [eax + 0x2fc], ecx
je 0x100199e1
cmp eax, ecx
je 0x100199e1
mov eax, dword [eax + 0x2f8]
test eax, eax
jne 0x100199c3
test dword [esi + 0x46b0], 0x100
je 0x10019927
test byte [esi + 0x46b0], 4
je 0x100199f6
test ebx, 0x200
je 0x10019927
mov edx, dword [esi + 0x46ac]
cmp edx, dword [edi + 0x6c]
jne 0x10019a0e
cmp byte [edi + 0xa8], 0
jne 0x10019927
xorps xmm0, xmm0
test ebx, 0x800
je 0x10019a20
movss xmm3, dword [esi + 0x3c]
jmp 0x10019a32
test ebx, 0x1000
je 0x10019a2f
movss xmm3, dword [esi + 0x40]
jmp 0x10019a32
xorps xmm3, xmm3
comiss xmm3, xmm0
jbe 0x10019b0f
test edx, edx
jne 0x10019ad0
movss xmm1, dword [edi + 0xfc]
mov ebx, 0x10
movss xmm0, dword [esi + 0x46b8]
movss xmm2, dword [edi + 0x100]
subss xmm0, xmm1
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0xe8]
lea edi, [ebp - 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0x46bc]
mov edx, dword [eax + ecx*4 - 4]
subss xmm0, xmm2
not edx
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [esi + 0x46c0]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 0x46c4]
subss xmm0, xmm2
movss dword [ebp - 8], xmm0
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10068fe8]
sub ebx, 1
jne 0x10019ab1
mov ebx, dword [ebp - 0x18]
not edx
test ebx, 0x2000
je 0x10019aea
cmp dword [esi + 0x4a6c], edx
je 0x10019aea
mov dword [esi + 0x4a70], 0
movss xmm0, dword [esi + 0x4a70]
comiss xmm0, xmm3
mov dword [esi + 0x4a68], edx
setae al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006067a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006067a
mov esp, ebp
pop ebp
ret
Function at 0x1001d1a0
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 0x1001d1df
cmp bl, 0x23
jne 0x1001d1c1
cmp byte [esi], bl
jne 0x1001d1c1
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 + 0x10068fe8]
test bl, bl
jne 0x1001d1b2
mov ecx, dword [0x100890f8]
not eax
mov esi, dword [ecx + 0x3e20]
mov edi, dword [ecx + 0x3e28]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1001d21e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1001d218
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1001d21a
mov esi, edx
test esi, esi
jne 0x1001d200
cmp edi, ebx
je 0x1001d22d
cmp dword [edi], eax
jne 0x1001d22d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1002a280
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 + 0x5a78], 0
lea esi, [edi + 0x5a7c]
je 0x1002a302
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1002a2bc
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.1002c490
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10017210
mov edx, dword [esi]
mov ecx, 0x100890f4
push dword [edi + 0x5a78]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a84]
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.10017210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002a6f0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x100890f8]
test bl, bl
je 0x1002a736
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1002a717
cmp byte [esi], bl
jne 0x1002a717
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 + 0x10068fe8]
test bl, bl
jne 0x1002a708
mov edi, dword [0x100890f8]
mov esi, dword [edi + 0x5a20]
xor ecx, ecx
not eax
test esi, esi
jle 0x1002a75c
mov edi, dword [edi + 0x5a28]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x1002a762
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x1002a750
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret

Function at 0x1002a9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x100890f8]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5a10], 0
push edi
test esi, esi
je 0x1002a9fd
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1002aa10
mov edx, 0x10068c10
mov ecx, esi
mov edi, eax
call fcn.10016c50
mov esi, eax
test esi, esi
je 0x1002a9fd
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10034c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10034cba
mov eax, dword [0x100890f8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10034cad
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10034ceb
mov eax, dword [0x100890f8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10034cde
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10034d1c
mov eax, dword [0x100890f8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10034d0f
dec dword [eax + 0xb0]
push ecx
call edi
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 ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10034d69
mov eax, dword [0x100890f8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10034d5c
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10034d9a
mov eax, dword [0x100890f8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10034d8d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10034dcb
mov eax, dword [0x100890f8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10034dbe
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10037920
Function at 0x1003ce00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10076040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x100890f8]
mov dword [esp + 0x28], ebx
push esi
push edi
test ebx, ebx
je 0x1003ce2a
mov esi, dword [ebx + 0x78]
jmp 0x1003ce2c
xor esi, esi
mov ecx, dword [ebx + 0x48]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], esi
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100382a0
mov eax, dword [ebx + 0x48]
mov ebx, dword [esp + 0x20]
cmp byte [eax + 0x19], 0
je 0x1003ced5
mov eax, ebx
imul eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x1c], eax
imul ecx, dword [esp + 0x28]
mov eax, dword [0x100890f8]
test eax, eax
je 0x1003ce7a
inc dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, edi
mov dword [esp + 0x18], edi
lea eax, [edi + eax*4]
mov dword [esp + 0x2c], eax
cmp edi, eax
jae 0x1003cedd
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
sub eax, edi
mov edi, eax
mov edx, dword [edi + esi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00ff00
shl eax, 0x10
or ecx, eax
or ecx, edx
mov dword [esi], ecx
add esi, 4
cmp esi, ebx
jb 0x1003cea7
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
jmp 0x1003cedd
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
push 0
lea esi, [eax + 0xc]
mov dword [esi], 0
mov ecx, dword [eax]
push esi
push 0
push 0x15
mov eax, dword [ecx]
push 0x200
push 1
push dword [esp + 0x28]
push ebx
push ecx
call dword [eax + 0x5c]
test eax, eax
js 0x1003cfaf
mov ecx, dword [esi]
lea edx, [esp + 0x34]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x4c]
test eax, eax
jne 0x1003cfaf
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x1003cf54
imul ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
imul eax, esi
push ebx
push edi
add eax, dword [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memcpy
inc esi
add esp, 0xc
add edi, ebx
cmp esi, dword [esp + 0x10]
jl 0x1003cf35
mov esi, dword [esp + 0x14]
push 0
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
mov ecx, dword [edx + 0x48]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x48]
cmp byte [eax + 0x19], 0
je 0x1003cf9b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1003cf91
mov ecx, dword [0x100890f8]
test ecx, ecx
je 0x1003cf91
dec dword [ecx + 0xb0]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1006067a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006067a
mov esp, ebp
pop ebp
ret
Function at 0x100480a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10076040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, eax
push ebx
mov ebx, eax
mov dword [ebp - 8], eax
push esi
mov esi, eax
shr edx, 8
movzx eax, al
xor eax, 0x811c9dc5
shr ebx, 0x10
push edi
mov edi, ecx
shr esi, 0x18
imul ecx, eax, 0x1000193
movzx eax, dl
xor ecx, eax
movzx eax, bl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x50]
xor eax, esi
imul esi, eax, 0x1000193
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1004ad80
mov edx, dword [eax + 4]
test edx, edx
je 0x10048159
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x5c]
and ecx, esi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x10048136
cmp eax, edx
jne 0x1004812e
mov eax, dword [edi + 0x54]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x1004813e
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x1004813e
cmp eax, edx
jne 0x1004813e
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 0x58]
mov eax, dword [edx + 4]
push 0xc
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.100606bd
add esp, 8
mov edx, dword [ebp + 8]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp + 8]
imul ebx, ecx, 0x1000193
lea ecx, [edi + 0x10]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1004ad80
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x100481a8
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 0x14]
je 0x10048233
mov eax, dword [ecx + 0x10]
cmp eax, 1
jne 0x1004822f
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [edi + 0x10]
call fcn.1004ad80
mov edx, dword [eax + 4]
test edx, edx
je 0x10048233
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x1c]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x100481f9
cmp eax, edx
jne 0x100481f1
mov eax, dword [edi + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x10048201
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x10048201
cmp eax, edx
jne 0x10048201
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 0x18]
mov eax, dword [edx + 4]
push 0x14
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.100606bd
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006067a
mov esp, ebp
pop ebp
ret 8
dec eax
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006067a
mov esp, ebp
pop ebp
ret 8
Function at 0x100482c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov edx, dword [esi + 4]
test edx, edx
jne 0x100482e1
mov edx, dword [ecx + 0xc]
lea eax, [edx + 1]
mov dword [ecx + 0xc], eax
mov dword [esi + 4], edx
lea esi, [ecx + 0x10]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 4], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1004ad80
mov eax, dword [eax + 4]
test eax, eax
je 0x1004834b
cmp eax, dword [esi + 4]
je 0x1004834b
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10049140
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10076040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1000
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
add esp, 8
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1006067a
mov esp, ebp
pop ebp
ret 4