Function at 0x70352b2a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov dword [esp + 4], 0x24
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x70352d7b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
shl eax, 4
mov dword [esp + 4], eax
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x70352bda
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x25
mov dword [esp + 4], 1
mov dword [esp], 0x708b6fb0
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.70352d80
mov eax, 0
jmp 0x70352d7e
mov dword [ebp - 0xc], 0
jmp 0x70352d6f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 3
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
imul eax, edx
mov dword [esp + 4], 4
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x70352d6b
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x25
mov dword [esp + 4], 1
mov dword [esp], 0x708b6fb0
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.70352d80
mov eax, 0
jmp 0x70352d7e
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jl 0x70352be6
mov eax, dword [ebp - 0x10]
leave
ret