Function at 0x10076210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx]
push edi
xor edi, edi
mov dword [esp + 0x30], 0xd
mov dword [esp + 0x38], edi
cmp eax, 0xd
ja case.default.0x10076237
jmp dword [eax*4 + 0x100764ec]
mov eax, str.true
cmp dword [ebx + 8], edi
jne 0x1007624d
mov eax, str.false
push eax
mov eax, dword [ebp + 8]
push 0x1025eadc
push eax
call fcn.10106bd7
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 8]
push ecx
push 0x10203f04
push edx
call fcn.10106bd7
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fld qword [ebx + 8]
mov eax, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push 0x1025eae0
push eax
call fcn.10106bd7
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
push 0x10235dcc
push esi
call fcn.10106bd7
mov ebx, dword [ebx + 8]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
push esi
push ecx
push 1
push edx
call fcn.1010ae5e
push 0x10235dc8
push esi
call fcn.10106bd7
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 8]
push eax
push 0x1025eae4
push ecx
call fcn.10106bd7
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
push str.null
push edx
call fcn.10106bd7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
push 0x102048a8
push esi
call fcn.10106bd7
add esp, 8
lea ebx, [ebx]
mov eax, dword [ebx]
cmp eax, 6
je 0x1007634e
push 6
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov eax, dword [ebx + 8]
cmp edi, dword [eax + 0xc]
jge 0x10076387
test edi, edi
jle 0x10076368
push 0x102314cc
push esi
call fcn.10106bd7
add esp, 8
lea eax, [esp + 0x30]
call fcn.10009840
push esi
lea ecx, [esp + 0x34]
call fcn.10076210
lea ecx, [esp + 0x30]
call fcn.10076130
inc edi
jmp 0x10076330
push 0x102067a8
push esi
call fcn.10106bd7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
push 0x1025eae8
push esi
call fcn.10106bd7
add esp, 8
xor edi, edi
mov dword [esp + 0x2c], edi
mov eax, dword [ebx]
cmp eax, 7
je 0x100763d3
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov ecx, dword [ebx + 8]
cmp edi, dword [ecx + 0xc]
jge 0x1007643f
mov eax, dword [ebx]
cmp eax, 7
je 0x100763f9
push 7
push eax
push str.Call_to_Object_where_the_object_was_type__d__not_the_expected_type__d
xor edx, edx
call fcn.1001d950
add esp, 0xc
call fcn.10105849
mov edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
push str.___s
push esi
call fcn.10106bd7
add esp, 0xc
lea eax, [esp + 0x30]
push eax
mov eax, ebx
call fcn.10075f30
push esi
lea ecx, [esp + 0x34]
call fcn.10076210
lea ecx, [esp + 0x30]
call fcn.10076130
inc edi
add dword [esp + 0x2c], 0x18
jmp 0x100763b5
push 0x1025eaf4
push esi
call fcn.10106bd7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push str._stream_
push ecx
call fcn.10106bd7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 8]
push edx
push eax
push str._d__d_R
push ecx
call fcn.10106bd7
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 8]
push edx
jmp 0x1007624e
mov ecx, dword [ebp + 8]
push str._error_
push ecx
call fcn.10106bd7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
push str._EOF_
push edx
call fcn.10106bd7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push str._none_
push eax
call fcn.10106bd7
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4