joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032bd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword fs:[0x30]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x10032bef
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x10032c5c
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x10032c56
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10032c56
cmp word [eax], cx
jne 0x10032c56
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x10032c51
cmp dword [ecx], 0x4550
jne 0x10032c51
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
cmp eax, dword [edi + 8]
je 0x10032c45
movq xmm0, qword [ebp - 0xc]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x10032c51
lea ecx, [ebp - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.1003bcd0
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x10032c00
mov eax, dword [edi]
cmp eax, dword [edi + 4]
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10033df0
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 0x10033e0c
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10033e2b
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10033e17
mov eax, dword [ebp - 4]
push edx
mov edx, eax
mov ecx, ebx
call fcn.100336a0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003aed0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10116bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10150380]
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 - 0x14]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.1001e840
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003b036
cmp dword [0x101800d8], 0xfffffff
jne 0x1003af5a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x101800d4
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.1010fe49
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [0x101800d8]
mov esi, dword [0x101800ec]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101456e0]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x101456e0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x101800d0]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1003b02b
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.10003c10
call fcn.10111e30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x1003b013
cmp esi, 0x200
jae 0x1003b011
shl esi, 3
cmp esi, ecx
jae 0x1003b013
mov esi, ecx
push esi
call fcn.1001e260
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001e840
mov ecx, dword [eax]
jmp 0x1003b02e
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
call fcn.1001e1e0
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 0x1003e240
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp ebx, eax
je 0x1003e3af
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1000dfc0
push 0x5c
push edi
call fcn.1011035b
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x18]
je 0x1003e30d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1003e2c0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1003e3a5
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1003e321
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edi], eax
jmp 0x1003e324
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x1003e3a5
nop
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
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.1000dfc0
push 0x5c
push edi
call fcn.1011035b
mov edx, dword [ebp - 0x10]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x18]
je 0x1003e3b6
cmp esi, eax
jne 0x1003e375
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
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 + 8]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x1003e330
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1003e3e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp ebx, eax
je 0x1003e551
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.1003f350
push 0x2c
push edi
call fcn.1011035b
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x18]
je 0x1003e4ad
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1003e460
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1003e547
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x1003e4c1
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edi], eax
jmp 0x1003e4c4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x1003e547
nop
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 [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.1003f350
push 0x2c
push edi
call fcn.1011035b
mov edx, dword [ebp - 0x10]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x18]
je 0x1003e558
cmp esi, eax
jne 0x1003e517
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
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 + 8]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x1003e4d0
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1003eb00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10116ed5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10150380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.100110f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003eb93
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xaaaaaaa
jne 0x1003eba7
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x10], 0
call fcn.1010fe49
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x101456e0]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x101456e0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1003ec7c
divss xmm0, xmm3
call fcn.10003c10
call fcn.10111e30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1003ec5e
cmp ebx, 0x200
jae 0x1003ec5c
shl ebx, 3
cmp ebx, ecx
jae 0x1003ec5e
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10010180
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100110f0
mov edx, dword [eax]
jmp 0x1003ec7f
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1003ecaa
mov dword [ecx + eax*8], esi
jmp 0x1003ecb9
cmp edi, edx
jne 0x1003ecb3
mov dword [ecx + eax*8], esi
jmp 0x1003ecbd
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1003ecbd
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1003f030
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x1003f061
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1000e6c0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1003f16c
nop word [eax + eax]
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x1003f0f1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1003f162
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1003f12b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1003f123
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
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 - 8]
mov dword [edx + 4], eax
jmp 0x1003f15f
cmp edi, edx
je 0x1003f13c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1003f175
cmp edi, edx
jne 0x1003f130
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], 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 - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x1003f0a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], 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 0x1003f15f
Function at 0x10042260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101171cd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10150380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x20], ecx
xor edi, edi
mov esi, ecx
cmp byte [ecx], 0
je 0x100422bb
push 0
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.10042560
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100422bb
cmp eax, 0x10000
jae 0x100422b6
inc edi
cmp byte [esi], 0
jne 0x10042296
lea edx, [edi + 1]
mov esi, ebx
xor edi, edi
mov dword [ebp - 0x10], edx
cmp byte [ebx], 0
je 0x100422f8
nop word [eax + eax]
push 0
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.10042560
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100422f5
cmp eax, 0x10000
jae 0x100422f0
inc edi
cmp byte [esi], 0
jne 0x100422d0
mov edx, dword [ebp - 0x10]
inc edi
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ecx
lea eax, [edi + edx]
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x10042438
mov esi, 8
mov ecx, eax
cmp eax, esi
cmovl ecx, esi
test ecx, ecx
jle 0x10042348
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x1004232e
inc dword [eax + 0x36c]
lea eax, [ecx + ecx]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [ebp - 0x10]
mov ecx, eax
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x1c], ecx
jmp 0x1004234a
xor ecx, ecx
test eax, eax
jle 0x10042438
mov esi, ecx
lea edx, [esi + edx*2]
lea ecx, [edx - 2]
mov dword [ebp - 0x14], edx
cmp esi, ecx
jae 0x100423a3
mov edi, dword [ebp - 0x20]
cmp byte [edi], 0
je 0x1004239d
push 0
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.10042560
add edi, eax
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1004239a
cmp eax, 0x10000
jae 0x1004238e
mov word [esi], ax
add esi, 2
mov edx, dword [ebp - 0x14]
lea eax, [edx - 2]
cmp esi, eax
jb 0x10042364
jmp 0x1004239d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
xor ecx, ecx
mov word [esi], cx
cmp dword [ebp - 0x10], eax
jge 0x10042438
dec edi
mov esi, edx
lea edi, [edx + edi*2]
cmp edx, edi
jae 0x100423f1
nop dword [eax + eax]
cmp byte [ebx], 0
je 0x100423ee
push 0
mov edx, ebx
lea ecx, [ebp - 0x24]
call fcn.10042560
add ebx, eax
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100423ee
cmp eax, 0x10000
jae 0x100423ea
mov word [esi], ax
add esi, 2
cmp esi, edi
jb 0x100423c0
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
xor eax, eax
push edx
push edi
mov word [esi], ax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov esi, eax
test edi, edi
je 0x10042424
mov ecx, dword [0x1017bfd8]
test ecx, ecx
je 0x1004241a
dec dword [ecx + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x10042450
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x10042550
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1004246b
mov dword [edi], 0
mov edx, 0x10142210
call fcn.10042260
mov esi, eax
test esi, esi
jne 0x10042481
pop edi
pop esi
mov esp, ebp
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 0x1004253d
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 - 4], ebx
cmp ebx, 0xffffffff
je 0x1004253d
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 0x1004253d
mov eax, dword [0x1017bfd8]
test eax, eax
je 0x100424d1
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 0x1004253d
push esi
push dword [ebp - 4]
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 - 4]
je 0x10042522
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1017bfd8]
add esp, 4
test eax, eax
je 0x1004250f
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
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10042534
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, ebx
pop ebx
pop edi
pop esi
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
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x10042ba0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
xor edx, edx
push ecx
push dword [ebp + 8]
xor ecx, ecx
call fcn.10028eb0
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
jle 0x10042c63
mov ecx, dword [edi]
mov edx, 1
test ecx, ecx
cmovne edx, ecx
mov dword [ebp - 4], edx
lea esi, [edx + eax]
mov eax, dword [edi + 4]
cmp esi, eax
jl 0x10042bf1
add eax, eax
mov ecx, edi
cmp esi, eax
cmovg eax, esi
push eax
call fcn.10053b60
mov ebx, dword [edi + 4]
cmp esi, ebx
jle 0x10042c1d
test ebx, ebx
je 0x10042c09
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
jmp 0x10042c0e
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edi
push eax
call fcn.10053b60
mov eax, dword [ebp - 4]
dec eax
mov dword [edi], esi
cmp eax, esi
jl 0x10042c2f
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ebx, dword [ebp - 8]
push dword [ebp + 0xc]
mov esi, dword [edi + 8]
add esi, eax
lea ecx, [ebx + 1]
push ecx
push dword [ebp + 8]
mov edx, ecx
mov ecx, esi
call fcn.10028eb0
add esp, 0xc
test esi, esi
je 0x10042c63
cmp eax, 0xffffffff
je 0x10042c5d
lea ecx, [ebx + 1]
cmp eax, ecx
jl 0x10042c5f
mov eax, ebx
mov byte [esi + eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10042c70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
cmp byte [ebp + 8], 0
push esi
push edi
mov edi, ecx
mov ecx, dword [0x1017bfd8]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 0x19e4]
mov dword [esp + 0x18], eax
je 0x10042ccf
mov esi, edi
or edi, 0xffffffff
test edx, edx
cmovne edi, edx
cmp esi, edi
jae 0x10042cc9
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x10042cc5
cmp cl, 0x23
jne 0x10042cc0
cmp byte [esi + 1], cl
je 0x10042cc5
inc esi
cmp esi, edi
jb 0x10042cb0
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
jmp 0x10042cee
test edx, edx
jne 0x10042cec
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042cd8
mov eax, dword [esp + 0x18]
sub ecx, edx
lea edx, [ecx + edi]
mov ecx, dword [esp + 0xc]
mov esi, edx
cmp edi, esi
je 0x10042e30
movss xmm0, dword [ebp + 0x10]
xorps xmm1, xmm1
addss xmm0, dword [0x101450e0]
movss dword [ebp + 0x10], xmm0
movss xmm0, dword [ecx + 0x1500]
comiss xmm1, xmm0
mov edx, dword [eax + 0x274]
ja 0x10042e19
minss xmm0, dword [0x10145040]
movss xmm2, dword [ecx + 0x1900]
mov ecx, dword [ecx + 0x18fc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], esi
mulss xmm0, dword [0x10145264]
addss xmm0, dword [0x10144fec]
cvttss2si eax, xmm0
shl eax, 0x18
mov dword [esp + 0x18], eax
or dword [esp + 0x18], 0xb4b4b4
test eax, eax
je 0x10042e15
test esi, esi
jne 0x10042d96
mov ecx, edi
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042d78
sub ecx, dword [esp + 0x1c]
lea eax, [ecx + edi]
mov dword [esp + 0x1c], eax
cmp edi, eax
je 0x10042e15
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x10042da4
mov eax, dword [edx + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10042db5
mov eax, dword [edx + 0x28]
movss xmm2, dword [eax + 0xc]
mov eax, dword [edx + 0x48]
test eax, eax
jle 0x10042e36
mov eax, dword [esp + 0x10]
mov edi, dword [edx + 0x48]
mov ecx, dword [edx + 0x50]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
cmp eax, dword [ecx + edi*4 - 4]
mov edi, dword [esp + 0x14]
jne 0x10042e36
mov ecx, dword [edx + 0x3c]
test ecx, ecx
jle 0x10042e36
mov eax, dword [edx + 0x44]
push 0
shl ecx, 4
push ecx
mov dword [esp], 0
push dword [esp + 0x24]
movups xmm0, xmmword [ecx + eax - 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push edi
push eax
push dword [esp + 0x2c]
movups xmmword [esp + 0x38], xmm0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
call fcn.10060040
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x2cbc], 0
je 0x10042e30
push esi
mov edx, edi
lea ecx, [ebp + 0xc]
call fcn.10052690
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3