Function at 0x433060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
push 0x433030
lea eax, [ebp - 0x10]
lea esi, [ebp + 4]
push eax
add esi, 0xfffffffc
push esi
call fcn.00428190
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push 0x433030
push eax
push esi
call fcn.00428190
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push 0x433030
push eax
push esi
call fcn.00428190
mov ebx, eax
mov dword [ebp - 0x14], 0
xor esi, esi
mov dword [ebp - 8], ebx
push 0x200
lea eax, [ebp - 0x22c]
mov dword [ebp - 0xc], esi
push esi
push eax
or edi, 0xffffffff
call fcn.004f7a50
mov eax, dword [ebp + 0x10]
add esp, 0x30
cmp eax, edi
jle 0x4330dc
cmp eax, 0x200
jl 0x433105
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x22c]
mov ecx, edi
mov esi, 0x1fc
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x433130
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4330f0
xor edi, edi
xor esi, esi
xor eax, eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x433127
add eax, 0x1ff
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
inc eax
shl eax, 9
add eax, esi
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
push edi
push ebx
call fcn.00433770
add esp, 0xc
cmp dword [eax], 0
je 0x4333b3
lea ecx, [edi + 0x101]
mov edx, 0x5164d8
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x433173
test bl, bl
je 0x43316f
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x433173
add eax, 2
add edx, 2
test bl, bl
jne 0x433153
xor eax, eax
jmp 0x433178
sbb eax, eax
or eax, 1
test eax, eax
je 0x4331ae
mov eax, 0x515178
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4331a1
test dl, dl
je 0x43319d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4331a1
add ecx, 2
add eax, 2
test dl, dl
jne 0x433181
xor eax, eax
jmp 0x4331a6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4333b3
lea eax, [edi + 0x7c]
push 0xc
push eax
call fcn.00433960
mov bl, byte [edi + 0x9c]
add esp, 8
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp bl, 0x4c
je 0x43323f
cmp bl, 0x78
jne 0x43323b
lea eax, [ecx + 0x1ff]
cdq
lea ecx, [edi + 0x200]
and edx, 0x1ff
lea esi, [edx + eax]
lea eax, [ebp - 0x1c]
sar esi, 9
push eax
push dword [ebp - 8]
inc esi
shl esi, 9
push ecx
mov dword [ebp - 0xc], esi
call fcn.00432ea0
add esp, 0xc
test eax, eax
jne 0x4333bd
mov ecx, dword [ebp - 8]
add edi, esi
mov eax, dword [ecx]
cmp byte [eax], 0
jne 0x43322b
push dword [ebp + 0x10]
push edi
push ecx
call fcn.00433770
add esp, 0xc
cmp dword [eax], 0
je 0x4333bd
lea eax, [edi + 0x7c]
push 0xc
push eax
call fcn.00433960
add esp, 8
jmp 0x433278
xor esi, esi
jmp 0x43327b
lea eax, [ecx + 0x1ff]
cdq
and edx, 0x1ff
lea esi, [edx + eax]
sar esi, 9
lea eax, [edi + 0x200]
push eax
push dword [ebp - 8]
inc esi
shl esi, 9
mov dword [ebp - 0xc], esi
call fcn.0042a0a0
add edi, esi
push 0xc
lea eax, [edi + 0x7c]
push eax
call fcn.00433960
add esp, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43328e
push eax
push dword [ebp - 8]
call fcn.0042a0a0
add esp, 8
mov eax, dword [ebp - 8]
push dword [eax]
push dword [ebp + 8]
push 0x51189c
push dword [ebp - 4]
call fcn.0042a180
mov eax, dword [ebp - 4]
push dword [eax]
push dword [ebp - 0x10]
call fcn.0042a0a0
push eax
call fcn.0042d950
mov eax, dword [ebp - 0x10]
push 0x1ff
push dword [eax]
call fcn.0042df40
add esp, 0x24
test eax, eax
jne 0x4333bd
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 0x10], eax
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4332e0
sub ecx, dword [ebp + 0x10]
cmp byte [edx + ecx - 1], 0x2f
jne 0x433311
push 0x1ff
push edx
call fcn.0042df40
add esp, 8
test eax, eax
mov eax, dword [ebp + 0xc]
jne 0x4333ab
xor edi, edi
jmp 0x433107
push edx
call fcn.0042e550
mov eax, dword [ebp - 4]
push 0x5130e4
push dword [eax]
call fcn.0042d9b0
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4333bd
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [edi + 0x200]
push 1
push eax
call fcn.004f7e29
mov esi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042d990
mov eax, dword [ebp + 0xc]
add esp, 0x14
cmp esi, eax
jne 0x4333a8
cmp bl, 0x78
je 0x433374
lea eax, [edi + 0x88]
push 0xc
push eax
call fcn.00433960
add esp, 8
jmp 0x43337a
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], edx
push dword [eax]
call fcn.004f5ac0
mov esi, dword [ebp - 0xc]
add esp, 8
neg eax
sbb eax, eax
mov edi, eax
mov eax, dword [ebp + 0xc]
jmp 0x433107
mov esi, dword [ebp - 0xc]
or edi, 0xffffffff
jmp 0x433107
xor esi, esi
or edi, 0xffffffff
jmp 0x433105
mov eax, dword [ebp + 0xc]
or edi, 0xffffffff
jmp 0x433107