Function at 0x425048
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
cmp dword [str.i18n], 0
mov dword [ebp - 0x10], 0x4f102c
je 0x425244
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x14], 0
jne 0x425233
mov esi, dword [eax + 8]
mov eax, dword [esi]
test eax, eax
je 0x4250a9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov ecx, eax
nop
mov dword [edx + 8], 0x4fa001
lea eax, [edx + 2]
mov dword [edx], eax
mov dword [edx + 0xc], 0x4fa001
add edx, 0x20
dec ecx
jne 0x425090
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x4250cc
mov edx, dword [edi + 0xc]
nop
lea esi, [esi]
mov dword [edx], 0x4fa001
add edx, 4
dec eax
jne 0x4250c0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 1
mov eax, dword [esi]
test eax, eax
je 0x4251a9
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [edx + 4]
mov edi, dword [ecx + 0x18]
mov dword [ebp - 0x14], edx
jmp 0x425176
mov dword [ebx], eax
mov eax, dword [0x4f99d4]
add ebx, 4
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0044acf4
mov dword [esp], eax
call fcn.004b7c80
cmp eax, 0x4fa001
mov ecx, eax
je 0x42524b
lea eax, [ebx - 4]
mov edx, dword [eax]
mov ebx, eax
mov dword [esp + 8], ecx
lea eax, [ebp - 0xc]
xor ecx, ecx
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
call fcn.004b7fdc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov eax, dword [edx + 0x1b]
test byte [eax + 4], 4
je 0x42515e
cmp dword [edx + 0xb], 0x4fa001
jne 0x42527b
mov edx, dword [ebp - 0x14]
add edi, 8
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], 0x20
add edx, 2
dec dword [ebp - 0x18]
mov dword [eax + 0xb], edx
je 0x4251a3
mov eax, dword [0x4f99d4]
mov esi, dword [edi]
mov dword [esp + 4], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.0044acf4
test esi, esi
jne 0x4250f4
mov dword [esp], eax
call fcn.0041f9a0
mov dword [ebp - 0xc], eax
mov edx, eax
jmp 0x425142
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x42522a
mov edx, dword [ebp - 0x10]
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
mov edi, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x4f99d4]
mov dword [esp + 4], eax
mov eax, dword [edi]
add edi, 4
mov dword [esp], eax
call fcn.0044acf4
mov dword [ebx], eax
mov eax, 1
add ebx, 4
mov dword [esp + 4], eax
mov dword [esp], 0x4f80a2
call fcn.0044555c
mov eax, dword [0x698da0]
mov edx, 0x4fa001
mov ecx, 0x4fa001
mov dword [ebx], eax
lea eax, [ebx + 4]
mov ebx, eax
mov dword [esp + 4], edx
sub eax, 4
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.004a6558
mov edx, dword [ebp - 0x1c]
sub ebx, 4
mov dword [edx], eax
add edx, 4
dec esi
mov dword [ebp - 0x1c], edx
jne 0x4251c0
mov ecx, dword [ebp - 0x10]
mov dword [esp], ecx
call dword [ecx + 0x20]
add dword [ebp - 0x10], 0x2c
mov edi, dword [ebp - 0x10]
mov eax, dword [edi]
test eax, eax
jne 0x425070
add esp, 0x30
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], esi
mov edi, dword [ebp - 0x10]
mov esi, str.module__s_requires_package__s._n
mov eax, dword [edi]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00419b20
mov eax, 1
call fcn.00423e48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [esp + 8], eax
mov eax, str.module__s_redefines_symbol
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00419b20
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.004229a4
mov dword [esp], str._in_the_locked_package
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov eax, 0x17
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1b]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.004229a4
mov dword [esp], str._nold_definition:
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov eax, 0x11
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.004229a4
mov dword [esp], 0xa
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 4], eax
call fcn.004f07b8
jmp 0x425271