Function at 0x432020
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452d8b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x968
mov eax, dword [0x45e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x930], 0
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x934], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x938], 0
mov dword [ebp - 0x868], 0
xor eax, eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
lea ecx, [ebp - 0x844]
mov dword [ebp - 0x8c4], ecx
mov edx, dword [ebp - 0x8c4]
mov dword [ebp - 0x87c], edx
mov eax, dword [ebp - 0x87c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x87c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x87c]
mov dword [edx + 8], 0
lea eax, [ebp - 0x844]
mov dword [ebp - 0x924], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x844]
call fcn.0041c430
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x838], 0
mov byte [ebp - 0x845], 1
cmp dword [ebx + 0x20], 0
jbe 0x432166
mov byte [ebp - 0x84d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.00401960
mov al, byte [ebp - 0x84d]
jmp 0x432718
lea ecx, [ebp - 0x838]
push ecx
mov edx, dword [ebx + 0x24]
push edx
mov eax, dword [ebx + 0x1c]
push eax
movzx ecx, byte [ebx + 0x14]
push ecx
mov edx, dword [ebx + 0x10]
push edx
mov eax, dword [ebx + 0xc]
push eax
call fcn.00431c50
add esp, 0x18
mov ecx, dword [0x45f5d0]
mov dword [ebp - 0x904], ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebx + 0x1c]
push edx
call dword [ebp - 0x904]
mov dword [ebp - 0x85c], eax
cmp dword [ebp - 0x85c], 0
jne 0x4321db
mov byte [ebp - 0x84e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.00401960
mov al, byte [ebp - 0x84e]
jmp 0x432718
mov dword [ebp - 0x84c], 0x80000000
movzx eax, byte [ebx + 0x14]
test eax, eax
je 0x432222
mov ecx, dword [ebp - 0x84c]
or ecx, 0x800000
mov dword [ebp - 0x84c], ecx
mov edx, dword [ebp - 0x84c]
or edx, 0x2000
mov dword [ebp - 0x84c], edx
mov eax, dword [ebp - 0x84c]
or eax, 0x1000
mov dword [ebp - 0x84c], eax
mov ecx, dword [0x45f5dc]
mov dword [ebp - 0x908], ecx
push 0
mov edx, dword [ebp - 0x84c]
push edx
push 0
push 0
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [ebp - 0x85c]
push ecx
call dword [ebp - 0x908]
mov dword [ebp - 0x858], eax
cmp dword [ebp - 0x858], 0
jne 0x432267
mov byte [ebp - 0x845], 0
jmp 0x4326b1
mov edx, dword [0x45f5bc]
mov dword [ebp - 0x890], edx
lea eax, [ebp - 0x834]
push eax
push 0x800
lea ecx, [ebp - 0x818]
push ecx
mov edx, dword [ebp - 0x858]
push edx
call dword [ebp - 0x890]
test eax, eax
je 0x4324bb
mov eax, dword [ebp - 0x864]
add eax, dword [ebp - 0x834]
mov dword [ebp - 0x864], eax
mov dword [ebp - 0x8a4], 0x3152191
mov dword [ebp - 0x8a0], 0
mov ecx, dword [ebp - 0x8a4]
mov edx, dword [ebp - 0x8a0]
xor ecx, 1
xor edx, 0
mov dword [ebp - 0x8c0], ecx
mov dword [ebp - 0x8bc], edx
mov dword [ebp - 0x8b0], 1
mov dword [ebp - 0x8ac], 0
mov eax, dword [0x45e8e8]
xor eax, 0x3ed1
mov ecx, dword [0x45e8ec]
xor ecx, 0
push 0
push 8
push ecx
push eax
call fcn.0044f900
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 0x8b4], edx
push 0
push 0x3ed1
mov edx, dword [0x45e8e4]
push edx
mov eax, dword [0x45e8e0]
push eax
call fcn.0044f900
mov dword [ebp - 0x900], eax
mov dword [ebp - 0x8fc], edx
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8ac]
mov eax, dword [ebp - 0x8b4]
add ecx, dword [ebp - 0x8b8]
adc edx, eax
add ecx, 1
adc edx, 0
mov dword [ebp - 0x8d8], ecx
mov dword [ebp - 0x8d4], edx
mov ecx, dword [ebp - 0x8c0]
mov edx, dword [ebp - 0x8bc]
mov eax, dword [ebp - 0x8fc]
sub ecx, dword [ebp - 0x900]
sbb edx, eax
mov dword [ebp - 0x8d0], ecx
mov dword [ebp - 0x8cc], edx
mov ecx, dword [ebp - 0x8d0]
mov edx, dword [ebp - 0x8cc]
mov eax, dword [ebp - 0x8d8]
mov esi, dword [ebp - 0x8d4]
push esi
push eax
push edx
push ecx
call fcn.00450f90
mov dword [ebp - 0x8e0], eax
mov dword [ebp - 0x8dc], edx
mov ecx, dword [ebp - 0x834]
xor edx, edx
mov eax, dword [ebp - 0x8e0]
mov esi, dword [ebp - 0x8dc]
mov dword [ebp - 0x8e8], ecx
mov dword [ebp - 0x8e4], edx
mov dword [ebp - 0x8f0], eax
mov dword [ebp - 0x8ec], esi
mov ecx, dword [ebp - 0x8e8]
cmp ecx, dword [ebp - 0x8f0]
jne 0x43241a
mov edx, dword [ebp - 0x8e4]
cmp edx, dword [ebp - 0x8ec]
jne 0x43241a
mov eax, dword [ebp - 0x864]
mov dword [ebp - 0x838], eax
jmp 0x4324bb
mov ecx, dword [0x45e8e8]
xor ecx, 0x3ed1
mov edx, dword [0x45e8ec]
xor edx, 0
push 0
push 0
push edx
push ecx
call fcn.0044f900
push 0
push 8
push edx
push eax
call fcn.0044f900
mov esi, eax
mov edi, edx
push 0
push 0x3ed1
mov eax, dword [0x45e8e4]
push eax
mov ecx, dword [0x45e8e0]
push ecx
call fcn.0044f900
add esi, eax
adc edi, edx
xor esi, 1
xor edi, 0
push edi
push esi
call fcn.00431b90
add esp, 8
mov dword [ebp - 0x860], eax
jmp 0x43248d
mov edx, dword [ebp - 0x860]
add edx, 1
mov dword [ebp - 0x860], edx
mov eax, dword [ebp - 0x860]
cmp eax, dword [ebp - 0x834]
jae 0x4324b6
mov ecx, dword [ebp - 0x860]
lea edx, [ebp + ecx - 0x818]
push edx
lea ecx, [ebp - 0x844]
call fcn.0041c490
jmp 0x43247e
jmp 0x432267
cmp dword [ebp - 0x838], 0
jle 0x4324d9
mov eax, dword [ebp - 0x864]
cmp eax, dword [ebp - 0x838]
je 0x4324d9
mov byte [ebp - 0x845], 0
xor ecx, ecx
mov byte [ebp - 0x84f], cl
xor edx, edx
mov byte [ebp - 0x850], dl
xor eax, eax
mov byte [ebp - 0x851], al
mov cl, byte [ebp - 0x84f]
mov byte [ebp - 0x86c], cl
mov dl, byte [ebp - 0x850]
mov byte [ebp - 0x870], dl
mov al, byte [ebp - 0x851]
mov byte [ebp - 0x874], al
mov dword [ebp - 0x8f8], 0x7cfe7954
mov dword [ebp - 0x8f4], 0xfe010934
mov ecx, dword [ebp - 0x8f8]
mov dword [ebp - 0x920], ecx
mov edx, dword [ebp - 0x8f4]
mov dword [ebp - 0x91c], edx
mov dword [ebp - 0x910], 0x6564e348
mov dword [ebp - 0x90c], 0xfc92a171
mov eax, dword [ebp - 0x910]
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x90c]
mov dword [ebp - 0x914], ecx
lea edx, [ebp - 0x920]
mov dword [ebp - 0x880], edx
mov dword [ebp - 0x830], 0x7cfe1b23
mov dword [ebp - 0x82c], 0xfe010934
mov dword [ebp - 0x828], 0x6564e348
mov dword [ebp - 0x824], 0xfc92a171
xor eax, eax
mov byte [ebp - 0x852], al
mov cl, byte [ebp - 0x852]
mov byte [ebp - 0x878], cl
movaps xmm0, xmmword [ebp - 0x830]
movaps xmmword [ebp - 0x960], xmm0
mov edx, dword [ebp - 0x880]
movups xmm0, xmmword [edx]
movaps xmmword [ebp - 0x950], xmm0
movaps xmm0, xmmword [ebp - 0x950]
pxor xmm0, xmmword [ebp - 0x960]
movaps xmmword [ebp - 0x970], xmm0
movaps xmm0, xmmword [ebp - 0x970]
mov eax, dword [ebp - 0x880]
movups xmmword [eax], xmm0
mov ecx, dword [ebp - 0x880]
mov dword [ebp - 0x894], ecx
mov edx, dword [ebp - 0x894]
push edx
mov eax, dword [ebx + 0x18]
push eax
call fcn.0043d02d
add esp, 8
mov dword [ebp - 0x868], eax
cmp dword [ebp - 0x868], 0
je 0x4326b1
mov ecx, dword [ebp - 0x928]
mov dword [ebp - 0x888], ecx
lea edx, [ebp - 0x844]
mov dword [ebp - 0x884], edx
mov eax, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x884]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
mov dword [ebp - 0x888], edx
mov eax, dword [ebp - 0x92c]
mov dword [ebp - 0x88c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x844]
push ecx
call fcn.00417e70
add esp, 4
mov dword [ebp - 0x88c], eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x868]
push edx
mov eax, dword [ebp - 0x888]
push eax
push 1
mov ecx, dword [ebp - 0x88c]
push ecx
call fcn.00442223
add esp, 0x10
mov edx, dword [ebp - 0x868]
push edx
call fcn.004403a6
add esp, 4
cmp dword [ebp - 0x858], 0
je 0x4326d2
mov eax, dword [0x45f5b8]
mov dword [ebp - 0x898], eax
mov ecx, dword [ebp - 0x858]
push ecx
call dword [ebp - 0x898]
cmp dword [ebp - 0x85c], 0
je 0x4326f4
mov edx, dword [0x45f5b8]
mov dword [ebp - 0x89c], edx
mov eax, dword [ebp - 0x85c]
push eax
call dword [ebp - 0x89c]
mov cl, byte [ebp - 0x845]
mov byte [ebp - 0x853], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.00401960
mov al, byte [ebp - 0x853]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439348
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret