Function at 0x29ae1de0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0xd
mov dword [esp + 4], 0xd
ja case.default.0x29ae1dfc
push ebx
push ebp
push esi
jmp dword [eax*4 + 0x29ae2098]
mov eax, dword [edi + 8]
test eax, eax
mov eax, str.true
jne 0x29ae1e14
mov eax, str.false
push eax
mov eax, dword [esp + 0x28]
push 0x29b531a4
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x24]
push ecx
push 0x29b47158
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
fld qword [edi + 8]
mov eax, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push 0x29b531a0
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov esi, dword [esp + 0x24]
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
push 0x29b41f0c
push esi
call ebx
mov edi, dword [edi + 8]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push esi
push ecx
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
push 0x29b41f04
push esi
call ebx
add esp, 0x20
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
push eax
push 0x29b5319c
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov edx, dword [esp + 0x24]
push str.null
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov ebx, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCRT.dll_fprintf]
push 0x29b48390
push ebx
call ebp
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xc]
add esp, 8
xor esi, esi
test ecx, ecx
jle 0x29ae1f4d
test esi, esi
jle 0x29ae1f21
push 0x29b48168
push ebx
call ebp
add esp, 8
mov ecx, dword [edi + 8]
lea edx, [esp + 0x10]
mov eax, esi
call fcn.29aaf190
push ebx
lea ecx, [esp + 0x14]
call fcn.29ae1de0
lea ecx, [esp + 0x10]
call fcn.29ae1cf0
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0xc]
inc esi
cmp esi, eax
jl 0x29ae1f12
push 0x29b4813c
push ebx
call ebp
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov ebp, dword [esp + 0x24]
push 0x29b47e20
push ebp
call dword [sym.imp.MSVCRT.dll_fprintf]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0xc]
add esp, 8
xor ebx, ebx
test eax, eax
jle 0x29ae1fc4
mov eax, ebx
call fcn.29ab31c0
push eax
push str.___s
push ebp
call dword [sym.imp.MSVCRT.dll_fprintf]
mov ecx, dword [edi + 8]
add esp, 0xc
lea esi, [esp + 0x10]
mov eax, ebx
call fcn.29ab31d0
push ebp
lea ecx, [esp + 0x14]
call fcn.29ae1de0
lea ecx, [esp + 0x10]
call fcn.29ae1cf0
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0xc]
inc ebx
cmp ebx, eax
jl 0x29ae1f81
push 0x29b47228
push ebp
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov edx, dword [esp + 0x24]
push str._stream_
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x24]
push eax
push ecx
push 0x29b49c38
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
push eax
push 0x29b531a4
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov edx, dword [esp + 0x24]
push str._error_
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov eax, dword [esp + 0x24]
push str._EOF_
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4
mov ecx, dword [esp + 0x24]
push str._none_
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x10
ret 4