Function at 0x10062420
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007049f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x100e7040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x178], 0
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x180], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor edi, edi
mov dword [ebp - 0x1c], 0
xor esi, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x178], 1
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x2c], 0
test edx, edx
je 0x10062513
jmp 0x100624d6
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 0x1c
cmp cl, 0xc
jne 0x100624f6
and eax, 0xfffffff
add eax, dword [ebp - 0x16c]
lea ecx, [eax + edx*4]
mov edx, dword [ecx + 4]
jmp 0x10062506
cmp cl, 0xb
mov edx, 8
mov eax, 0x20
cmove edx, eax
add edi, edx
inc esi
mov edx, dword [ebp - 0x174]
cmp esi, edx
jb 0x100624d0
mov esi, dword [ebp - 0x17c]
mov ecx, 0xffffffff
mov eax, esi
add eax, edi
cmovb eax, ecx
cmp eax, 0xf
jbe 0x10062540
push dword [ebp - 0x170]
lea ecx, [ebp - 0x2c]
push eax
call fcn.100648d0
mov dword [ebp - 0x1c], 0
push 0x114
lea eax, [ebp - 0x168]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x154]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], eax
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x15c], pe_nt_image_headers32
mov dword [ebp - method.std::_Fmt_iterator_buffer_class_std::back_insert_iterator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____char__struct_std::_Fmt_buffer_traits_.virtual_0], vtable.std::_Fmt_iterator_buffer_class_std::back_insert_iterator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____char__struct_std::_Fmt_buffer_traits_.0
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x174]
push esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
call fcn.100665f0
add esp, 8
lea ecx, [ebp - 0x168]
call fcn.10065e30
mov byte [ebp - 4], 2
cmp dword [ebp - 0x160], 0
mov dword [ebp - method.std::_Fmt_iterator_buffer_class_std::back_insert_iterator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____char__struct_std::_Fmt_buffer_traits_.virtual_0], vtable.std::_Fmt_iterator_buffer_class_std::back_insert_iterator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____char__struct_std::_Fmt_buffer_traits_.0
je 0x10062603
lea ecx, [ebp - 0x168]
call fcn.10065e30
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jae 0x10062629
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov word [eax + ecx], 0xa
jmp 0x1006263a
push 0xa
push dword [ebp - 0x170]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100649f0
push dword [ebp - 0x170]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x100626b3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10062695
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006268b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006268b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006f69b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006f289
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [eax]
call fcn.1005f720
int3