Function at 0x419c2b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x42e180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [0x42e000]
mov dword [ebp - 0x210], 0x423df8
cmp eax, 0x80000002
je 0x419c67
mov dword [ebp - 0x210], 0x423de4
push ebx
push esi
push edi
mov edi, dword [0x423014]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push ebx
push 4
push ebx
push ebx
push ebx
mov esi, 0x42e148
push esi
push eax
call edi
cmp eax, ebx
je 0x419cc2
cmp eax, 5
jne 0x419cae
push 0x10
push ebx
push 0x423d88
call dword [fcn.00423228]
push eax
call dword [fcn.0042322c]
xor eax, eax
jmp 0x419f88
push ebx
push 0x423d74
push esi
call dword [fcn.00423228]
push eax
call dword [fcn.0042322c]
mov esi, 0x430560
push esi
push dword [ebp - 0x214]
lea eax, [ebp - 0x10c]
push 0x423d60
push eax
call fcn.004211ac
lea eax, [ebp - 0x10c]
push 0x423d5c
push eax
call fcn.0042114e
mov dword [0x431bc8], eax
lea eax, [ebp - 0x228]
push eax
call fcn.0041eba0
lea eax, [ebp - 0x228]
push eax
call fcn.0041eb79
lea eax, [ebp - 0x228]
push eax
call fcn.0041eb79
push eax
push 0x423d2c
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.00421053
lea eax, [ebp - 0x10c]
push eax
push dword [0x431bc8]
call fcn.0041f656
push 0x4305c0
push 0x423d20
push dword [0x431bc8]
call fcn.0041f656
add esp, 0x48
push dword [ebp - 0x210]
push 0x423d0c
push dword [0x431bc8]
call fcn.0041f656
push dword [0x431a48]
lea eax, [ebp - 0x20c]
push dword [0x431828]
push esi
push 0x423d00
push eax
call fcn.004211ac
add esp, 0x20
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x21c]
call edi
test eax, eax
je 0x419dd5
push ebx
push 0x423ce8
lea eax, [ebp - 0x20c]
push eax
call dword [fcn.00423228]
push eax
call dword [fcn.0042322c]
push dword [ebp - 0x21c]
call dword [fcn.00423004]
cmp dword [ebp - 0x220], 1
jne 0x419e09
lea eax, [ebp - 0x20c]
push eax
push 0x42e148
push 0x423cd0
push dword [0x431bc8]
call fcn.0041f656
add esp, 0x10
push 0x4303e0
push dword [0x431a48]
lea eax, [ebp - 0x10c]
push dword [0x431828]
push 0x423cc0
push eax
call fcn.004211ac
lea eax, [ebp - 0x10c]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419e37
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x10c]
push eax
push 1
push ebx
mov edi, 0x423cb4
push edi
push dword [ebp - 0x218]
call dword [0x423000]
test eax, eax
je 0x419e7c
push ebx
push 0x423c9c
lea eax, [ebp - 0x10c]
push eax
call dword [fcn.00423228]
push eax
call dword [fcn.0042322c]
lea eax, [ebp - 0x10c]
push eax
push edi
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x42e148
push edi
push 0x423c7c
push dword [0x431bc8]
call fcn.0041f656
push esi
push dword [ebp - 0x214]
lea eax, [ebp - 0x10c]
push 0x423c6c
push eax
call fcn.004211ac
lea eax, [ebp - 0x10c]
push 0x423c68
push eax
call fcn.0042114e
push eax
push 1
push dword [0x430438]
mov dword [ebp - 0x210], eax
push dword [0x431ab4]
call fcn.00420037
add esp, 0x40
push dword [ebp - 0x210]
call fcn.0041fe6c
push esi
push dword [ebp - 0x214]
lea eax, [ebp - 0x10c]
push esi
push dword [ebp - 0x214]
push 0x423c3c
push eax
call fcn.004211ac
lea eax, [ebp - 0x10c]
add esp, 0x1c
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419f1d
sub eax, esi
inc eax
push eax
lea eax, [ebp - 0x10c]
push eax
push 1
push ebx
mov esi, 0x423c2c
push esi
push dword [ebp - 0x218]
call dword [0x423000]
test eax, eax
je 0x419f62
push ebx
push 0x423c9c
lea eax, [ebp - 0x10c]
push eax
call dword [fcn.00423228]
push eax
call dword [fcn.0042322c]
lea eax, [ebp - 0x10c]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x423c7c
push dword [0x431bc8]
call fcn.0041f656
xor eax, eax
add esp, 0x18
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e8c1
leave
ret