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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10038546
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.101241e7
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x100384a9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10038467
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1003853c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100384bd
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x100384c0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1003853c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.101241e7
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1003854d
cmp esi, eax
jne 0x10038517
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100384d0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10039560
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1003958c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x101aee2c]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x101aee34
lea eax, [edi + edi]
push eax
call fcn.100385e0
mov eax, dword [0x101aee2c]
lea ebx, [edi - 1]
mov dword [0x101aee40], ebx
mov dword [0x101aee44], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100396c6
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x101aee34]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x10039624
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10039691
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1003965e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10039656
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x10039691
cmp ebx, edx
je 0x1003966e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x100396a2
cmp ebx, edx
jne 0x10039662
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x100396c6
mov ebx, dword [0x101aee40]
jmp 0x100395d2
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10039691
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10043b30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1014a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword fs:[0x30]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x10043b63
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123d6c
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x10043bd0
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x10043bca
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10043bca
cmp word [eax], cx
jne 0x10043bca
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x10043bc5
cmp dword [ecx], 0x4550
jne 0x10043bc5
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
cmp eax, dword [edi + 8]
je 0x10043bb9
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x10043bc5
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.1002aa60
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x10043b74
mov eax, dword [edi]
cmp eax, dword [edi + 4]
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.10123d6c
mov esp, ebp
pop ebp
ret
Function at 0x10044cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 4], eax
mov ebx, ecx
cmp dword [esi + 0x14], 0xf
mov edi, dword [esi + 0x10]
jbe 0x10044cdc
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10044cfb
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10044ce7
mov eax, dword [ebp - 4]
push edx
mov edx, eax
mov ecx, ebx
call fcn.10044590
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004aff0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128eb5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1014a0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.10039910
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1004b11b
cmp dword [0x101aee30], 0xfffffff
jne 0x1004b07a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x101aee2c
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x1c], 0
call fcn.10123d88
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x1c], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [0x101aee30]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1013e490]
mov eax, dword [0x101aee44]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1013e490]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x101aee28]
jbe 0x1004b110
call fcn.10039190
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10039910
mov ecx, dword [eax]
jmp 0x1004b113
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
push edi
call fcn.10039210
add eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1004edc0
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 0x1004ee21
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1004ee04
cmp edi, 2
jb 0x1004ee04
cmp byte [esi], cl
jne 0x1004ee04
cmp byte [esi + 1], cl
jne 0x1004ee04
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10135a50]
jmp 0x1004edd5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10135a50]
test edi, edi
jne 0x1004edd5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1004ee50
cmp cl, 0x23
jne 0x1004ee37
cmp byte [esi], cl
jne 0x1004ee37
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 + 0x10135a50]
test cl, cl
jne 0x1004ee28
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1004ef60
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 0x1004ef74
mov dword [ebx], 0
mov edx, 0x1013ba78
call fcn.1004ee60
mov esi, eax
test esi, esi
je 0x1004f062
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 0x1004f058
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 0x1004f058
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1004f058
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 0x1004f058
mov eax, dword [0x1015d8a4]
test eax, eax
je 0x1004efec
inc dword [eax + 0xac]
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 0x1004f058
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 0x1004f03d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1015d8a4]
add esp, 4
test eax, eax
je 0x1004f02a
dec dword [eax + 0xac]
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 0x1004f04f
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 0x10051770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1014a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10135a50]
sub esi, 1
jne 0x100517b0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e8c], ebx
jne 0x100517e7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10063b00
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10123d6c
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1014a0c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10135a50]
sub edi, 1
jne 0x10051880
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.10123d6c
mov esp, ebp
pop ebp
ret 4
Function at 0x10054cf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x1015d8a4]
push edi
mov dword [ebp - 8], edx
mov edi, ecx
mov ebx, dword [esi + 0x3e58]
cmp dword [ebx + 0x190], 0
movss xmm3, dword [ebx + 0x228]
movss xmm4, dword [ebx + 0x22c]
jne 0x10054d2c
cmp dword [esi + 0x4a10], 0
je 0x10054d34
movss xmm3, dword [ebx + 0x1f8]
mov ecx, dword [ebp + 8]
xorps xmm5, xmm5
subss xmm3, dword [ebx + 0xf0]
subss xmm4, dword [ebx + 0xf4]
movss xmm2, dword [0x1013d8d4]
cvttss2si eax, dword [ecx]
mov dword [ebp - 4], 0
mov dword [ebp + 8], 2
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm5
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
mov eax, 1
cmovnp ecx, eax
ucomiss xmm0, xmm5
lahf
test ah, 0x44
mov eax, dword [ebp - 4]
cmovnp eax, dword [ebp + 8]
or eax, ecx
comiss xmm5, xmm1
mov dword [ebp - 4], eax
jb 0x10054dac
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x10054dac
movaps xmm1, xmm2
comiss xmm5, xmm0
jb 0x10054dbd
addss xmm0, xmm4
comiss xmm0, xmm2
jae 0x10054dbd
movaps xmm0, xmm2
or dword [esi + 0x4708], 2
movss dword [esi + 0x4728], xmm1
movss dword [esi + 0x472c], xmm0
mov dword [esi + 0x4710], 1
mov eax, dword [ebx + 4]
push edx
test edi, edi
je 0x10054dfd
push edi
push eax
push str._s__s__08X
lea eax, [ebp + 8]
push 0
push eax
call fcn.1004ed10
add esp, 0x18
jmp 0x10054e11
push eax
push str._s__08X
lea eax, [ebp + 8]
push 0
push eax
call fcn.1004ed10
add esp, 0x14
movss xmm0, dword [esi + 0x37b0]
xor edx, edx
mov ecx, dword [ebp + 8]
push 0x1000107
movss dword [ebp - 0xc], xmm0
call fcn.100571c0
mov edi, dword [esi + 0x3e58]
add esp, 4
movss xmm0, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
movss dword [esi + 0x37b0], xmm0
cmp word [edi + 0xb6], 1
mov byte [ebp + 0xb], al
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov dword [edi + 0x74], edx
mov byte [edi + 0xc6], al
jne 0x10054e74
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], eax
mov edi, edx
mov al, 0x23
not edi
mov edx, 0x1013b035
mov ebx, edi
cmp al, 0x23
jne 0x10054e8f
cmp byte [edx], al
jne 0x10054e8f
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10135a50]
test al, al
jne 0x10054e81
mov edi, dword [ebp - 0xc]
not ebx
cmp dword [esi + 0x3ea4], ebx
jne 0x10054ebe
xor edx, edx
xor ecx, ecx
call fcn.100518b0
mov eax, dword [ebp - 8]
cmp dword [esi + 0x47e4], eax
jne 0x10054f03
cmp word [edi + 0x14c], 0
jne 0x10054edc
cmp byte [edi + 0x152], 0
je 0x10054f03
xor edx, edx
mov ecx, edi
call fcn.10059ab0
xor dl, dl
mov ecx, edi
call fcn.1005f6c0
mov edx, edi
mov ecx, ebx
call fcn.100518b0
mov eax, dword [esi + 0x4808]
mov dword [esi + 0x3ec4], eax
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10062890
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 + 0x5ad0], 0
lea esi, [edi + 0x5ad4]
je 0x10062912
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100628cc
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.10064650
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1004f600
mov edx, dword [esi]
mov ecx, 0x1015d899
push dword [edi + 0x5ad0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5adc]
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.1004f600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006c7b0
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 0x1006c7ea
mov eax, dword [0x1015d8a4]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1006c7dd
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1006c81b
mov eax, dword [0x1015d8a4]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1006c80e
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1006c84c
mov eax, dword [0x1015d8a4]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1006c83f
dec dword [eax + 0xac]
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 0x1006c899
mov eax, dword [0x1015d8a4]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1006c88c
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1006c8ca
mov eax, dword [0x1015d8a4]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1006c8bd
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1006c8fb
mov eax, dword [0x1015d8a4]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1006c8ee
dec dword [eax + 0xac]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1006f430
Function at 0x1008ce90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1014a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x10134700
push 0x64
mov esi, edx
call fcn.10124497
mov edi, eax
add esp, 8
test edi, edi
je 0x1008d095
push 0x64
push 0
push edi
call sub.VCRUNTIME140.dll_memset
lea eax, [edi + 4]
mov byte [edi], 1
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push 2
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
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 [0x1019a68c], edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push str.1118431877850734613
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.1008bae0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10173da8
mov dword [0x1019eac4], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1008cf6c
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x10173dd4]
cmp eax, 0x7fffffff
jne 0x1008cf86
dec eax
push 6
mov dword [0x10173dd4], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test esi, esi
je 0x1008cf9b
movups xmm0, xmmword [esi]
movups xmmword [0x1019a890], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x1008cfa5
xorps xmm0, xmm0
movups xmmword [0x1019a890], xmm0
movq qword [0x1019a8a0], xmm0
xorps xmm0, xmm0
push 0x10173da8
movups xmmword [0x1019aaa8], xmm0
movq qword [0x1019aab8], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x1019ebc8], 0
jne 0x1008d09f
mov eax, str.1118431877850734613
mov dword [0x1019ecd0], 0x1014a634
mov esi, 1
mov edx, 0x1019ece0
sub esi, eax
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x1008d008
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x1008cff5
mov esi, dword [0x1019a68c]
mov al, 1
mov byte [edx], 0
mov dword [0x1019ebc8], 0x1019ecd0
mov dword [0x1019ecd8], 0x1008d4d0
mov dword [0x1019ecdc], 0x1008d4e0
xchg byte [esi], al
push 4
call fcn.10123d88
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x1008d970
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 - 0x50], ecx
test ecx, ecx
je 0x1008d086
cmp dword [esi + 0x60], 0
je 0x1008d06d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123d6c
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x1019a68c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10123d6c
mov esp, ebp
pop ebp
ret
Function at 0x1008e190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1014a0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x1019ebc8]
push esi
push eax
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 0x1008e262
mov eax, dword [edi]
test eax, eax
je 0x1008e211
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1008e211
test ebx, ebx
je 0x1008e211
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1008e211
cmp dword [ebp - 8], esi
je 0x1008e262
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1008e231
mov eax, dword [edi + 4]
cmp eax, 3
je 0x1008e225
cmp eax, 1
jne 0x1008e231
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 ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10123d6c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10123d6c
mov esp, ebp
pop ebp
ret 8