Function at 0x65a750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push 1
push 4
lea eax, [esi + 0x15c]
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x17c]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x180]
push 4
push eax
call ebx
mov eax, dword [esi + 0x1a4]
lea ecx, [esi + 0x1b0]
push edi
push 1
push 2
push ecx
mov dword [ecx], eax
call ebx
mov eax, dword [esi + 0x1a0]
add esp, 0x40
mov ecx, dword [eax]
mov dword [esi + 0x1a8], ecx
cmp ecx, eax
je 0x65a82a
push edi
push 1
lea eax, [ecx + 0x10]
push 2
push eax
call ebx
mov eax, dword [esi + 0x1a8]
push edi
push 1
add eax, 0x14
push 0x10
push eax
call ebx
mov eax, dword [esi + 0x1a8]
add esp, 0x20
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x65a808
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x65a81c
nop dword [eax]
cmp eax, dword [ecx + 8]
jne 0x65a81c
mov dword [esi + 0x1a8], ecx
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x65a7f0
jmp 0x65a81c
mov edx, dword [ecx]
cmp byte [edx + 0xd], 0
jne 0x65a81c
mov eax, dword [edx]
mov ecx, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x65a810
mov dword [esi + 0x1a8], ecx
cmp ecx, dword [esi + 0x1a0]
jne 0x65a7b6
mov eax, dword [esi + 0x18c]
lea ecx, [esi + 0x198]
push edi
push 1
push 2
push ecx
mov dword [ecx], eax
call ebx
mov ecx, dword [esi + 0x188]
add esp, 0x10
mov eax, dword [ecx]
mov dword [esi + 0x190], eax
cmp eax, ecx
je 0x65a8ca
push edi
push 1
add eax, 0x10
push 2
push eax
call ebx
mov eax, dword [esi + 0x190]
push edi
push 1
add eax, 0x14
push 0xc
push eax
call ebx
mov ecx, dword [esi + 0x190]
add esp, 0x20
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x65a8a8
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x65a8bc
nop dword [eax]
cmp ecx, dword [eax + 8]
jne 0x65a8bc
mov dword [esi + 0x190], eax
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x65a890
jmp 0x65a8bc
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x65a8bc
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x65a8b0
mov dword [esi + 0x190], eax
cmp eax, dword [esi + 0x188]
jne 0x65a855
push edi
push 1
lea eax, [esi + 0x1dc]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x1d4]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x1f8]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x1f4]
push 4
push eax
call ebx
add esp, 0x40
lea eax, [esi + 0x1f0]
push edi
push 1
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x208]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x204]
push 4
push eax
call ebx
push edi
push 1
lea eax, [esi + 0x200]
push 4
push eax
call ebx
mov eax, dword [esi + 0x1bc]
lea ecx, [esi + 0x1c8]
add esp, 0x40
mov dword [ecx], eax
push edi
push 1
push 2
push ecx
call ebx
mov eax, dword [esi + 0x1b8]
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi + 0x1c0], ecx
cmp ecx, eax
je 0x65a9e1
nop dword [eax + eax]
push edi
push 1
lea eax, [ecx + 0x10]
push 2
push eax
call ebx
mov eax, dword [esi + 0x1c0]
push edi
push 1
add eax, 0x14
push 4
push eax
call ebx
mov eax, dword [esi + 0x1c0]
add esp, 0x20
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x65a9bf
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x65a9d3
cmp eax, dword [ecx + 8]
jne 0x65a9d3
mov dword [esi + 0x1c0], ecx
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x65a9a7
jmp 0x65a9d3
mov edx, dword [ecx]
cmp byte [edx + 0xd], 0
jne 0x65a9d3
mov eax, dword [edx]
mov ecx, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x65a9c7
mov dword [esi + 0x1c0], ecx
cmp ecx, dword [esi + 0x1b8]
jne 0x65a970
push edi
lea ecx, [esi + 0x230]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x248]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x260]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x278]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x2c0]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x2d8]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x290]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x2a8]
call fcn.0064ef80
push edi
lea ecx, [esi + 0x2f0]
call fcn.0064ef80
pop edi
pop esi
pop ebx
pop ebp
ret 8