Function at 0x427f90
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00434d70
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00434d70
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x44826c]
test esi, esi
jle 0x4280f0
mov eax, dword [0x448270]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x428020
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x42809f
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x428010
mov dword [esp], ebx
call fcn.00428960
mov edi, eax
test eax, eax
je 0x428117
mov eax, dword [0x448270]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00428a70
mov edx, dword [0x448270]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4280f7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x428098
sub eax, 4
and eax, 0xfffffffb
jne 0x4280a6
add dword [0x44826c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x448270]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x428098
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00427f90
xor esi, esi
jmp 0x42802a
mov eax, dword [0x448270]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00427f90
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00427f90
lea esi, [esi]
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x448268]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x428150
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x448268], 1
call fcn.004289e0
lea eax, [eax + eax*4]
lea eax, [eax*4 + 0x1b]
shr eax, 4
shl eax, 4
call fcn.00428c00
mov dword [0x44826c], 0
sub esp, eax
lea eax, [esp + 0x1f]
and eax, 0xfffffff0
mov dword [0x448270], eax
mov eax, 0x442e44
sub eax, 0x442e44
cmp eax, 7
jle 0x428145
mov edx, dword [0x442e44]
cmp eax, 0xb
jg 0x428240
mov ebx, 0x442e44
test edx, edx
jne 0x428345
mov eax, dword [ebx + 4]
test eax, eax
jne 0x428345
mov eax, dword [ebx + 8]
cmp eax, 1
jne 0x428392
lea edi, [ebx + 0xc]
cmp edi, 0x442e44
jb 0x4281ff
jmp 0x428145
sub eax, dword [ebp - 0x2c]
add eax, dword [ebx]
mov esi, eax
mov eax, ebx
call 0x427ff0
mov dword [ebx], esi
add edi, 0xc
cmp edi, 0x442e44
jae 0x4282b0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
movzx edx, byte [edi + 8]
lea esi, [eax + 0x400000]
lea ebx, [ecx + 0x400000]
mov eax, dword [eax + 0x400000]
mov dword [ebp - 0x2c], esi
cmp edx, 0x10
je 0x428270
cmp edx, 0x20
je 0x4281e0
cmp edx, 8
je 0x428310
mov dword [esp + 4], edx
mov dword [esp], str.__Unknown_pseudo_relocation_bit_size__d._n
call fcn.00427f90
test edx, edx
jne 0x428340
mov eax, dword [0x442e48]
mov edi, eax
or edi, dword [0x442e4c]
jne 0x428388
mov edx, dword [0x442e50]
mov ebx, 0x442e50
jmp 0x4281af
movzx esi, word [ecx + 0x400000]
mov dword [ebp - 0x30], ecx
mov ecx, esi
or ecx, 0xffff0000
test si, si
cmovs esi, ecx
sub esi, dword [ebp - 0x2c]
add edi, 0xc
add esi, eax
mov eax, ebx
call 0x427ff0
mov ecx, dword [ebp - 0x30]
mov word [ecx + 0x400000], si
cmp edi, 0x442e44
jb 0x4281ff
lea esi, [esi]
mov eax, dword [0x44826c]
test eax, eax
jle 0x428145
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebp - 0x34]
lea esi, [ebp - 0x1c]
lea esi, [esi]
mov edx, dword [0x448270]
lea eax, [edi + edi*4]
lea eax, [edx + eax*4]
mov edx, dword [eax]
test edx, edx
je 0x4282fc
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov edx, dword [eax + 8]
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp], eax
call ebx
sub esp, 0x10
add edi, 1
cmp edi, dword [0x44826c]
jl 0x4282d0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, byte [ebx]
mov esi, edx
or esi, 0xffffff00
test dl, dl
cmovs edx, esi
sub edx, dword [ebp - 0x2c]
lea esi, [edx + eax]
mov eax, ebx
call 0x427ff0
mov eax, esi
mov byte [ebx], al
jmp 0x4281f0
mov ebx, 0x442e44
cmp ebx, 0x442e44
jae 0x428145
lea esi, [esi]
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
add ebx, 8
add edi, dword [esi + 0x400000]
lea eax, [esi + 0x400000]
call 0x427ff0
mov dword [esi + 0x400000], edi
cmp ebx, 0x442e44
jb 0x428358
jmp 0x4282b0
mov ebx, 0x442e44
jmp 0x4281ba
mov dword [esp + 4], eax
mov dword [esp], str.__Unknown_pseudo_relocation_protocol_version__d._n
call fcn.00427f90
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x3c
mov eax, dword [0x448274]
fld qword [esp + 0x48]
fld qword [esp + 0x50]
fld qword [esp + 0x58]
test eax, eax
je 0x4283f8
fxch st(2)
mov edx, dword [esp + 0x40]
fstp qword [esp + 0x18]
fstp qword [esp + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x44]
fstp qword [esp + 0x28]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
mov dword [esp], edx
call eax
jmp 0x4283fe
fstp st(0)
fstp st(0)
fstp st(0)
add esp, 0x3c
ret