Function at 0x4278f0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov esi, dword [esp + 0x8c]
mov dword [esp], 0
mov dword [esp + 4], 0
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov ebx, esp
push ebx
call dbg.ffDetectBios
add esp, 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov ecx, dword [0x5052b0]
mov dword [esp + 0x44], ecx
test eax, eax
je 0x427ab3
add esi, 0x20
push eax
push 0x4f25eb
push 0
push esi
push 0
push str.Bios
call dbg.ffPrintError
add esp, 0x18
cmp dword [esp], 0
mov dword [esp + 4], 0
je 0x4279cf
mov dword [esp], 0
push dword [esp + 8]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
cmp dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
je 0x427a00
mov dword [esp + 0xc], 0
push dword [esp + 0x14]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
je 0x427a2c
mov dword [esp + 0x18], 0
push dword [esp + 0x20]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
je 0x427a58
mov dword [esp + 0x24], 0
push dword [esp + 0x2c]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
je 0x427a84
mov dword [esp + 0x30], 0
push dword [esp + 0x38]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
je 0x427aab
mov dword [esp + 0x3c], 0
push dword [esp + 0x44]
call sym._free
add esp, 4
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esi + 0x20]
cmp dword [esp + 0x28], 0
je 0x427af5
lea ebp, [esp + 0x30]
cmp dword [esi + 0x24], 0
je 0x427b11
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 7
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x48]
lea ecx, [esp + 0x3c]
push eax
push 1
push edi
push ecx
call dbg.ffParseFormatString
add esp, 0x10
jmp 0x427bcc
push str.bios_version_is_not_set.
push 0
push edi
push 0
push str.Bios
call dbg.ffPrintError
add esp, 0x14
jmp 0x4279ae
cmp dword [esp + 0x34], 0
je 0x427b37
push 0x4f260f
push dword [esp + 0x3c]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x427b79
mov eax, dword [esp + 0x38]
jmp 0x427bb9
cmp dword [esp + 0x30], 0
je 0x427b5a
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
push dword [esp + 0x38]
call sym._free
add esp, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov dword [esp + 0x38], 0x4f2607
mov eax, 0x4f2607
jmp 0x427bb9
cmp dword [esp + 0x30], 0
je 0x427b9c
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
push dword [esp + 0x38]
call sym._free
add esp, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], str.Legacy
mov eax, str.Legacy
lea ecx, [esp + 0x3c]
push eax
push str.Bios___s_
push ecx
call dbg.ffStrbufSetF
add esp, 0xc
cmp dword [esi + 0x3c], 0
mov eax, dword [esp + 0x44]
je 0x427c35
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
lea esi, [esp + 0x24]
mov dword [esp + 0x50], 7
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 7
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 7
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 7
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x50]
push ecx
push 5
push 0
push edi
push 0
push eax
call dbg.ffPrintFormat
jmp 0x4279ab
push 0
push edi
push 0
push eax
call dbg.ffPrintLogoAndKey
add esp, 0x10
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push dword [esp + 0x2c]
push 1
push dword [esp + 0x38]
call sym._fwrite
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x427c80
mov eax, dword [esp + 0x14]
sub esp, 8
mov dword [esp + 4], eax
call sym._printf_1
add esp, 8
jmp 0x4279ae
push 0xa
call sym._putchar
add esp, 4
jmp 0x4279ae