Function at 0x7036f776
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xd0
lea eax, [ebp - 0xc8]
lea edx, [ebp + 0x10]
mov ecx, 0x18
mov edi, eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x60], 0xffffffff
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
fild dword [ebp + 0x74]
fld qword [0x708b8400]
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x7036f7c9
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x10], 1
jmp 0x7036f7d7
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.70352810
mov dword [ebp - 0x30], eax
mov dword [esp + 4], 4
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.70352a75
mov dword [esp + 0xc], 4
mov dword [esp + 4], 0x66616978
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
mov eax, dword [ebp - 0x10]
cdq
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x7036f877
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x14]
add edx, 0x24
mov edx, dword [eax + edx*4 + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov eax, dword [eax + ecx*4 + 4]
imul edx, eax
mov eax, dword [ebp - 0x90]
imul eax, edx
add dword [ebp - 0x18], eax
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp + 0xc]
shl edx, 2
add eax, edx
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jge 0x7036f84a
mov eax, dword [ebp - 0x18]
cdq
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
imul eax, edx
cdq
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
mov dword [ebp - 0xc], 0
jmp 0x7036fc61
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x250
add eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp + 0xc]
shl edx, 2
add eax, edx
mov eax, dword [eax]
add eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0
jmp 0x7036fbff
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
add edx, 4
mov edx, dword [eax + edx*4 + 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add ecx, 0x24
mov eax, dword [eax + ecx*4 + 8]
imul eax, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
jmp 0x7036fbef
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], 0
jmp 0x7036fbdf
mov eax, dword [ebp - 0xb0]
cmp eax, 4
ja case.default.0x7036f971
mov eax, dword [eax*4 + 0x708b83ec]
jmp eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x224]
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x38]
mov ecx, eax
mov eax, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x94]
imul ecx, eax
mov eax, dword [ebp + 0xc]
add eax, ecx
imul eax, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
shl eax, 3
add eax, edx
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x4c], eax
jmp 0x7036fb8e
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x224]
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x40]
mov ecx, eax
mov eax, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp - 0x94]
imul ecx, eax
mov eax, dword [ebp + 0xc]
add eax, ecx
imul eax, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
shl eax, 3
add eax, edx
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x4c], eax
jmp 0x7036fb8e
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x224]
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x24]
add ecx, eax
mov eax, dword [ebp - 0x94]
imul ecx, eax
mov eax, dword [ebp + 0xc]
add eax, ecx
imul eax, dword [ebp - 0x40]
mov ecx, eax
mov eax, dword [ebp - 0x28]
add eax, ecx
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
shl eax, 3
add eax, edx
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x4c], eax
jmp 0x7036fb8e
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x224]
mov eax, dword [ebp - 0x94]
imul eax, dword [ebp - 0x24]
mov ecx, eax
mov eax, dword [ebp + 0xc]
add eax, ecx
imul eax, dword [ebp - 0x38]
mov ecx, eax
mov eax, dword [ebp - 0x20]
add eax, ecx
imul eax, dword [ebp - 0x40]
mov ecx, eax
mov eax, dword [ebp - 0x28]
add eax, ecx
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
shl eax, 3
add eax, edx
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x4c], eax
jmp 0x7036fb8e
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x224]
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
imul eax, dword [ebp - 0x38]
mov ecx, eax
mov eax, dword [ebp - 0x20]
add eax, ecx
imul eax, dword [ebp - 0x40]
mov ecx, eax
mov eax, dword [ebp - 0x28]
add eax, ecx
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
shl eax, 3
add eax, edx
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x4c], eax
jmp 0x7036fb8e
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x18
mov dword [esp + 4], 1
mov dword [esp], 0x708b83d0
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp + 8]
cdq
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x60]
sub edx, eax
mov eax, edx
add eax, 1
cdq
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
add dword [ebp - 0x2c], 1
add dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x40]
jl 0x7036f95b
add dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x3c]
jl 0x7036f946
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
jl 0x7036f91a
jmp 0x7036fc55
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
add dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jl 0x7036fc0d
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
imul eax, edx
cmp eax, dword [ebp - 0xc]
jg 0x7036f8e0
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.70352810
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.70352827
mov eax, dword [ebp - 0x44]
cdq
mov dword [esp + 0xc], 4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.703529ca
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x78]
mov dword [esp], eax
call fcn.70352827
mov eax, dword [ebp - 0x44]
add esp, 0xd0
pop esi
pop edi
pop ebp
ret