Function at 0x4333d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x433758
push esi
lea esi, [ebp + 4]
add esi, 0xfffffffc
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
push 0x433030
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push eax
push esi
mov dword [ebp - 0x20], edi
call fcn.00428190
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push 0x433030
push eax
push esi
call fcn.00428190
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push 0x433030
push eax
push esi
call fcn.00428190
xor esi, esi
mov dword [ebp - 0xc], eax
push 0x200
lea eax, [ebp - 0x244]
mov dword [ebp - 0x24], 0
push esi
push eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 8], esi
call fcn.004f7a50
add esp, 0x30
cmp ebx, 0xffffffff
jle 0x433468
cmp ebx, 0x200
jl 0x433727
mov ecx, edi
lea edx, [ebp - 0x244]
mov esi, 0x1fc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x433492
add ecx, 4
add edx, 4
sub esi, 4
jae 0x433475
mov dword [ebp - 0x14], 0
jmp 0x433724
push ebx
push edi
push dword [ebp - 0xc]
call fcn.00433770
add esp, 0xc
cmp dword [eax], 0
je 0x433724
lea edx, [edi + 0x101]
mov ecx, 0x5164d8
mov eax, edx
mov bl, byte [eax]
cmp bl, byte [ecx]
jne 0x4334d5
test bl, bl
je 0x4334d1
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x4334d5
add eax, 2
add ecx, 2
test bl, bl
jne 0x4334b5
xor eax, eax
jmp 0x4334da
sbb eax, eax
or eax, 1
test eax, eax
je 0x433510
mov eax, 0x515178
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x433503
test cl, cl
je 0x4334ff
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x433503
add edx, 2
add eax, 2
test cl, cl
jne 0x4334e3
xor eax, eax
jmp 0x433508
sbb eax, eax
or eax, 1
test eax, eax
jne 0x433721
lea eax, [edi + 0x7c]
push 0xc
push eax
call fcn.00433960
mov bl, byte [edi + 0x9c]
add esp, 8
mov dword [ebp - 4], eax
cmp bl, 0x4c
je 0x4335b0
cmp bl, 0x78
jne 0x4335ab
add eax, 0x1ff
cdq
and edx, 0x1ff
lea esi, [edx + eax]
lea eax, [ebp - 0x2c]
sar esi, 9
push eax
push dword [ebp - 0xc]
inc esi
lea eax, [edi + 0x200]
shl esi, 9
push eax
mov dword [ebp - 8], esi
call fcn.00432ea0
add esp, 0xc
test eax, eax
jne 0x4335a0
mov ecx, dword [ebp - 0xc]
lea edx, [esi + edi]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edx
mov eax, dword [ecx]
cmp byte [eax], 0
jne 0x433590
push dword [ebp + 0x10]
push edx
push ecx
call fcn.00433770
add esp, 0xc
cmp dword [eax], 0
je 0x4335a0
mov edx, dword [ebp - 0x18]
lea eax, [edx + 0x7c]
push 0xc
push eax
call fcn.00433960
add esp, 8
jmp 0x4335ef
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
jmp 0x433729
mov esi, dword [ebp - 8]
jmp 0x4335f2
add eax, 0x1ff
cdq
and edx, 0x1ff
lea esi, [edx + eax]
sar esi, 9
lea eax, [edi + 0x200]
push eax
push dword [ebp - 0xc]
inc esi
shl esi, 9
mov dword [ebp - 8], esi
call fcn.0042a0a0
lea eax, [esi + edi]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
add eax, 0x7c
push 0xc
push eax
call fcn.00433960
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push dword [eax]
push dword [ebp + 8]
push 0x51189c
push dword [ebp - 0x10]
call fcn.0042a180
mov eax, dword [ebp - 0x10]
push dword [eax]
push dword [ebp - 0x1c]
call fcn.0042a0a0
push eax
call fcn.0042d950
mov eax, dword [ebp - 0x1c]
push 0x1ff
push dword [eax]
call fcn.0042df40
add esp, 0x24
test eax, eax
jne 0x4335a0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433641
sub ecx, dword [ebp - 0x34]
cmp byte [edx + ecx - 1], 0x2f
jne 0x43367a
push 0x1ff
push edx
call fcn.0042df40
mov ebx, dword [ebp + 0x10]
add esp, 8
test eax, eax
mov eax, dword [ebp - 4]
jne 0x433729
mov dword [ebp - 0x14], 0
jmp 0x433729
push edx
call fcn.0042e550
mov eax, dword [ebp - 0x10]
push 0x5130e4
push dword [eax]
call fcn.0042d9b0
add esp, 0xc
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4335a0
push eax
push dword [ebp - 4]
mov eax, dword [ebp - 0x18]
add eax, 0x200
push 1
push eax
call fcn.004f7e29
mov esi, eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042d990
mov eax, dword [ebp - 4]
add esp, 0x14
cmp esi, eax
jne 0x433719
cmp bl, 0x78
je 0x4336e4
mov eax, dword [ebp - 0x20]
add eax, 0x88
push 0xc
push eax
call fcn.00433960
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], ecx
push dword [eax]
call fcn.004f5ac0
mov ebx, dword [ebp + 0x10]
add esp, 8
mov esi, dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
jmp 0x433729
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
jmp 0x433729
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
mov eax, esi
add eax, 0x1ff
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
inc eax
shl eax, 9
add eax, esi
cmp dword [ebp - 0x14], 0
jne 0x433756
mov esi, dword [ebp - 0x30]
add edi, eax
sub ebx, eax
mov dword [ebp + 0x10], ebx
jne 0x4333f3
pop edi
pop esi
neg ebx
sbb ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret