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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10020cea
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10020d12
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx]
add ecx, eax
cmp eax, ecx
jae 0x10020d12
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
add esp, 0x28
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x10020de2
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10020d3b
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 0x10020d47
movsx eax, bl
jmp 0x10020d87
lea eax, [esp + 0x38]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
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 0x10020da7
sub eax, 1
je 0x10020da7
sub eax, 2
jne 0x10020de2
movsx eax, byte [esp + 0xf]
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
add esp, 0x28
ret 4
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x14]
sub edi, eax
je 0x10020dc7
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 0x10020de2
lea ecx, [esp + 0xf]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x10], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
add esp, 0x28
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret 4
Function at 0x10021240
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x100212d2
cmp byte [esi + 0x3d], 0
je 0x100212d2
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x100212ca
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
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 0x10021299
sub eax, 1
je 0x1002129d
sub eax, 2
jne 0x100212ca
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
add esp, 0x24
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x100212bd
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 0x100212ca
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
add esp, 0x24
ret
pop edi
xor al, al
pop esi
add esp, 0x24
ret
mov al, 1
pop esi
add esp, 0x24
ret
Function at 0x100256e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, ebx
push esi
push edi
cmp dword [ebx + 0x14], 0xf
mov edi, dword [ebx + 0x10]
jbe 0x100256fc
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x10025718
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10025707
push esi
push ebx
lea eax, [esp + 0x40]
push eax
call fcn.10025570
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1002573e
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x101c19f8], 0x71c71c7
jne 0x10025755
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
push 0x24
call fcn.1010fa03
add esp, 4
mov edi, eax
lea ecx, [edi + 8]
push ebx
call fcn.1000ed10
mov ecx, dword [ebx + 0x18]
mov dword [edi + 0x20], ecx
mov ecx, dword [0x101c19f8]
mov ebx, dword [0x101c1a0c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b8860]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101b8860]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x101c19f0]
comiss xmm1, xmm0
jbe 0x1002582e
divss xmm2, xmm0
sub esp, 8
movss dword [esp + 0x40], xmm2
fld dword [esp + 0x40]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [esp + 0x38]
movss xmm0, dword [esp + 0x38]
call fcn.10110d50
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x1002580f
cmp ebx, 0x200
jae 0x1002580d
shl ebx, 3
cmp ebx, ecx
jae 0x1002580f
mov ebx, ecx
push ebx
call fcn.100258a0
push esi
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10025570
mov ecx, dword [0x101c19f8]
mov edx, dword [eax]
jmp 0x10025832
mov edx, dword [esp + 0x38]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x101c19f8], ecx
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [0x101c1a08]
mov ecx, dword [0x101c19fc]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x101c19f4]
jne 0x10025863
mov dword [ecx + eax*8], edi
jmp 0x10025882
cmp esi, edx
jne 0x1002587c
mov dword [ecx + eax*8], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10025886
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10047810
Capabilities:
Create thread

Disassembly:
sub esp, 0x4c
push esi
push edi
push 0x1014c740
push 0x64
mov esi, edx
call fcn.1011000c
mov edi, eax
add esp, 8
test edi, edi
je 0x10047a0a
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 [0x101f3290], edi
lea eax, [esp + 0x10]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push str.1023218247476195402
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [esp + 0x10]
call fcn.10046860
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x101c1be4
mov dword [0x101f3294], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100478e1
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x101c1c10]
cmp eax, 0x7fffffff
jne 0x100478fb
dec eax
push 6
mov dword [0x101c1c10], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test esi, esi
je 0x10047910
movups xmm0, xmmword [esi]
movups xmmword [0x101f3178], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x1004791a
xorps xmm0, xmm0
movups xmmword [0x101f3178], xmm0
movq qword [0x101f3188], xmm0
xorps xmm0, xmm0
push 0x101c1be4
movups xmmword [0x101f3398], xmm0
movq qword [0x101f33a8], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x101f73b4], 0
jne 0x10047a14
mov eax, str.1023218247476195402
mov dword [0x101e2c88], 0x101be8a0
mov esi, 1
mov edx, 0x101e2c98
sub esi, eax
nop word [eax + eax]
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x10047983
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x10047970
mov esi, dword [0x101f3290]
mov al, 1
mov byte [edx], 0
mov dword [0x101f73b4], 0x101e2c88
mov dword [0x101e2c90], 0x10047df0
mov dword [0x101e2c94], 0x10047e00
xchg byte [esi], al
push 4
call fcn.1010fa03
add esp, 4
lea ecx, [esp + 0xc]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100480a0
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 [esp + 8], ecx
test ecx, ecx
je 0x100479fa
cmp dword [esi + 0x60], 0
je 0x100479ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
add esp, 0x4c
ret
push 6
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x101f3290], 0
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x10048850
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [0x101f73b4]
push esi
push dword [esp + 0x18]
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 0x10048907
mov eax, dword [edi]
test eax, eax
je 0x100488c2
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x100488c2
test ebx, ebx
je 0x100488c2
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x100488c2
cmp dword [esp + 0x18], esi
je 0x10048907
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100488e2
mov eax, dword [edi + 4]
cmp eax, 3
je 0x100488d6
cmp eax, 1
jne 0x100488e2
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
pop ecx
ret 8
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 8
Function at 0x1004d340
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1004d39e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1004d382
cmp edi, 2
jb 0x1004d382
cmp byte [esi], cl
jne 0x1004d382
cmp byte [esi + 1], cl
jne 0x1004d382
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1018ad40]
jmp 0x1004d353
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1018ad40]
test edi, edi
jne 0x1004d353
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1004d3cd
cmp cl, 0x23
jne 0x1004d3b4
cmp byte [esi], cl
jne 0x1004d3b4
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 + 0x1018ad40]
test cl, cl
jne 0x1004d3a5
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x1004d4b0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x1004d4c2
mov dword [ebx], 0
mov edx, 0x101afa40
call fcn.1004d3e0
mov esi, eax
test esi, esi
je 0x1004d5a0
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebp
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1004d596
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 0x1004d596
push esi
call ebp
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x1004d596
push 0
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1004d596
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1004d534
inc dword [eax + 0x370]
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1004d596
push esi
push ebp
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, ebp
je 0x1004d580
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x101c18e4]
add esp, 4
test eax, eax
je 0x1004d56f
dec dword [eax + 0x370]
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 ebp
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1004d58f
mov dword [ebx], ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x1004f930
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [ecx + 0xe4]
mov eax, dword [ecx + 0xec]
push esi
push edi
lea esi, [esp + 0xc]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop dword [eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1018ad40]
sub edi, 1
jne 0x1004f950
mov ecx, dword [0x101c18e4]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1be0], eax
jne 0x1004f982
mov dword [ecx + 0x1be4], eax
cmp dword [ecx + 0x1c1c], eax
jne 0x1004f991
mov byte [ecx + 0x1c20], 1
ret 4

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

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0x14]
mov ecx, dword [esi + 0xe4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x18]
mov dword [esp + 8], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0x14]
mov dword [esp + 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x18]
mov dword [esp + 0x10], eax
cvttss2si eax, xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xec]
lea esi, [esp + 8]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1018ad40]
sub edi, 1
jne 0x1004fa10
mov eax, dword [0x101c18e4]
not edx
pop edi
pop esi
cmp dword [eax + 0x1be0], edx
jne 0x1004fa41
mov dword [eax + 0x1be4], edx
cmp dword [eax + 0x1c1c], edx
jne 0x1004fa50
mov byte [eax + 0x1c20], 1
mov eax, edx
add esp, 0x10
ret 4
Function at 0x10059470
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
mov eax, dword [0x101c18e4]
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x1bac]
mov esi, 4
add edi, 0xe4
mov dword [esp + 0x10], ecx
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + ebp*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1018ad40]
sub esi, 1
jne 0x100594a0
mov esi, dword [edi + 4]
not ebx
cmp ebp, esi
jne 0x100594e7
lea ecx, [ebp + 1]
test esi, esi
je 0x100594d5
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x100594da
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1005fd60
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1005e4e0
Capabilities:
Hash data with crc32

Disassembly:
movss xmm0, dword [0x101b82a8]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x101c18e4]
comiss xmm0, dword [edi + 0x1e58]
ja 0x1005e761
cmp dword [edi + 0x1e54], 0
jne 0x1005e54e
or edx, 0xffffffff
mov esi, 0x101af9d5
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x1005e526
cmp byte [esi], al
jne 0x1005e526
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1018ad40]
test al, al
jne 0x1005e518
not edx
mov ecx, edx
call fcn.10053e10
mov dword [edi + 0x1e54], eax
mov eax, dword [edi + 0x1d40]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], 0x7f7fffff
mov dword [esp + 0x1c], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x1c74]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm2, dword [0x101b82bc]
mov dword [edi + 0x1c74], eax
or eax, 1
mulss xmm1, dword [0x101b82bc]
mov dword [edi + 0x1cc4], 0
movss dword [esp + 0x10], xmm2
mov dword [edi + 0x1cc8], 0
movss dword [esp + 0x14], xmm1
movups xmm0, xmmword [esp + 0x10]
movups xmmword [edi + 0x1cb0], xmm0
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm2, dword [0x101b8310]
mulss xmm1, dword [0x101b8310]
addss xmm2, dword [ecx + 4]
addss xmm1, dword [ecx + 8]
mov dword [edi + 0x1c74], eax
mov ecx, 1
mov dword [edi + 0x1c8c], 0x3f000000
movss dword [edi + 0x1c84], xmm2
mov dword [edi + 0x1c90], 0x3f000000
movss dword [edi + 0x1c88], xmm1
mov dword [edi + 0x1c78], 1
movss xmm0, dword [edi + 0x152c]
addss xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [edi + 0x1530]
addss xmm0, xmm0
movss dword [esp + 0x14], xmm0
call fcn.1004e1f0
push 0xc1347
xor edx, edx
mov ecx, str.NavWindowingList
call fcn.10056490
mov ebp, dword [edi + 0x1b70]
add esp, 4
sub ebp, 1
js 0x1005e74b
nop dword [eax + eax]
mov eax, dword [edi + 0x1b78]
mov esi, dword [eax + ebp*4]
cmp byte [esi + 0xab], 0
je 0x1005e742
cmp esi, dword [esi + 0x32c]
jne 0x1005e742
test dword [esi + 0x10], 0x80000
jne 0x1005e742
mov ecx, dword [esi + 8]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x1005e6ca
nop dword [eax]
mov bl, byte [edx]
test bl, bl
je 0x1005e6c6
cmp bl, 0x23
jne 0x1005e6c0
cmp byte [edx + 1], bl
je 0x1005e6c6
inc edx
cmp edx, 0xffffffff
jb 0x1005e6b0
cmp ecx, edx
jne 0x1005e71a
mov eax, dword [esi + 0x10]
test eax, 0x4000000
je 0x1005e6db
mov ecx, str._Popup_
jmp 0x1005e71a
test eax, 0x400
je 0x1005e715
mov eax, str.MainMenuBar
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1005e707
test dl, dl
je 0x1005e703
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1005e707
add ecx, 2
add eax, 2
test dl, dl
jne 0x1005e6e7
xor eax, eax
jmp 0x1005e70c
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x1005e71a
mov ecx, str._Untitled_
cmp dword [edi + 0x1e4c], esi
lea eax, [esp + 0x10]
push eax
push 0
sete dl
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.100782d0
add esp, 8
sub ebp, 1
jns 0x1005e670
call fcn.10058ad0
mov ecx, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.1004e270
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1005ea80
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 + 0x2f6c], 0
lea esi, [edi + 0x2f70]
je 0x1005eb02
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1005eabc
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.10060000
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1004de80
mov edx, dword [esi]
mov ecx, 0x101c17dd
push dword [edi + 0x2f6c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f78]
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.1004de80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100618a0
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 0x100618da
mov eax, dword [0x101c18e4]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x100618cd
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1006190b
mov eax, dword [0x101c18e4]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x100618fe
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1006193c
mov eax, dword [0x101c18e4]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1006192f
dec dword [eax + 0x370]
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 0x10061989
mov eax, dword [0x101c18e4]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1006197c
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100619ba
mov eax, dword [0x101c18e4]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x100619ad
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100619eb
mov eax, dword [0x101c18e4]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x100619de
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10064330
Function at 0x10064fd0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x19c]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x101c18e4]
test eax, eax
je 0x10065019
inc dword [eax + 0x370]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
mov ebp, eax
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x100650c8
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x100650c8
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x101f75b8], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x101f75c0], ebp
shl ecx, 8
add ecx, ebp
mov dword [0x101f75c4], ebp
add edi, ecx
mov ecx, esi
mov dword [0x101f75bc], edi
call fcn.100676c0
cmp eax, esi
je 0x100650c8
cmp dword [0x101f75c4], edi
ja 0x100650c8
mov ecx, eax
mov esi, eax
call fcn.100676c0
cmp eax, esi
jne 0x100650b3
mov esi, dword [esp + 0x1a8]
test esi, esi
je 0x100650ea
mov ecx, 0x20
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x118]
jmp 0x10065139
push 0x80
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
lea esi, [esp + 0x18]
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
movss xmm0, dword [esp + 0x10]
lea edi, [esp + 0x98]
comiss xmm0, dword [0x101b81e8]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
mov byte [esp + 0xa0], 1
lea esi, [esp + 0x98]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
jbe 0x1006517e
movss dword [esp + 0x28], xmm0
mov eax, dword [esp + 0x1ac]
test eax, eax
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.10064cc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18c
ret 0x10