Function at 0x415ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.msvcrt.dll__iob]
push ebx
mov ebx, dword [ebp + 8]
add esi, 0x40
mov eax, dword [0x521eb0]
test eax, eax
je 0x415f20
test ebx, ebx
je 0x4161bf
cmp dword [ebx + 0xc], 9
jbe 0x415f13
push eax
push eax
push 0x5c7
push str._usr_local_google_buildbot_src_android_gcc_toolchain_build_.._binutils_binutils_2.27_ld_ldexp.c
call fcn.00419100
add esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx + 0xc]
jmp dword [eax*4 + 0x4b9fb4]
mov dword [0x521eb0], esi
jmp 0x415eea
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x94]
test edx, edx
je 0x415f48
push esi
push esi
push edx
push 0x4b9f15
call fcn.00418fe0
add esp, 0x10
mov eax, dword [ebx + 0x10]
push ecx
mov edx, dword [ebx + 0x14]
push edx
mov eax, dword [eax]
push eax
push str._s0x_v
call fcn.00418fe0
add esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx]
lea edx, [eax - 0x117]
cmp edx, 0x2e
jbe switch.0x00416109
push eax
push eax
mov eax, dword [0x521eb0]
push eax
push 0x28
call sub.msvcrt.dll_fputc
pop eax
mov esi, dword [ebx + 0x10]
push esi
call fcn.00415ed0
mov edx, 1
mov eax, dword [ebx]
call fcn.00415e20
add esp, 0x10
sub esp, 0xc
mov ebx, dword [ebx + 0x14]
push ebx
jmp 0x41602a
sub esp, 0xc
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.00415ed0
pop eax
mov eax, dword [0x521eb0]
pop edx
push eax
push 0x3f
call sub.msvcrt.dll_fputc
mov ecx, dword [ebx + 0x14]
pop eax
push ecx
call fcn.00415ed0
pop eax
mov eax, dword [0x521eb0]
pop edx
push eax
push 0x3a
call sub.msvcrt.dll_fputc
mov ebx, dword [ebx + 0x18]
add esp, 0x10
jmp 0x415ee1
push eax
push eax
mov eax, dword [0x521eb0]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.msvcrt.dll_fputs
mov eax, dword [ebx]
mov edx, 1
call fcn.00415e20
mov ebx, dword [ebx + 0x14]
add esp, 0x10
jmp 0x415ee1
push ecx
mov edx, dword [ebx + 0x10]
push edx
push str.PROVIDE___s_
mov eax, dword [0x521eb0]
push eax
call fcn.00415e00
pop eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.00415ed0
mov esi, dword [0x521eb0]
pop eax
pop edx
push esi
push 0x29
call sub.msvcrt.dll_fputc
add esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
push eax
push eax
mov eax, dword [ebx + 0x10]
push eax
push str.0x_v
call fcn.00418fe0
add esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
push edx
push edx
push str.ASSERT__
mov eax, dword [0x521eb0]
push eax
call fcn.00415e00
pop eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.00415ed0
add esp, 0xc
mov eax, dword [ebx + 0x14]
push eax
push 0x4b9f43
mov eax, dword [0x521eb0]
push eax
call fcn.00415e00
add esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor edx, edx
mov eax, dword [ebx]
call fcn.00415e20
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x415f0c
push eax
push eax
push 0x4b9f37
mov eax, dword [0x521eb0]
push eax
call fcn.00415e00
pop esi
mov ecx, dword [ebx + 0x10]
push ecx
jmp 0x41602a
mov eax, dword [ebx]
cmp eax, 0x103
je 0x4161a5
xor edx, edx
call fcn.00415e20
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x415f0c
push edx
push eax
push 0x4b9f49
mov eax, dword [0x521eb0]
push eax
call fcn.00415e00
add esp, 0x10
jmp 0x415f0c
jmp dword [edx*4 + 0x4b9fdc]
xor edx, edx
mov eax, 0x130
call fcn.00415e20
mov eax, dword [0x521eb0]
push eax
push 3
push 1
push 0x4b9f2f
call sub.msvcrt.dll_fwrite
pop eax
mov eax, dword [ebx + 0x14]
push eax
call fcn.00415ed0
mov esi, dword [0x521eb0]
push esi
push 3
push 1
push 0x4b9f33
call sub.msvcrt.dll_fwrite
add esp, 0x14
mov ecx, dword [ebx + 0x10]
push ecx
jmp 0x41602a
xor edx, edx
call fcn.00415e20
push esi
push esi
mov ecx, dword [0x521eb0]
push ecx
push 0x20
call sub.msvcrt.dll_fputc
pop eax
mov eax, dword [0x521eb0]
pop edx
push eax
push 0x28
call sub.msvcrt.dll_fputc
pop esi
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.00415ed0
pop eax
pop edx
push 0x4b9fb0
mov eax, dword [0x521eb0]
push eax
call fcn.00415e00
add esp, 0x10
jmp 0x415f9d
push eax
push eax
mov esi, dword [0x521eb0]
push esi
mov ecx, dword [ebx + 0x10]
push ecx
call sub.msvcrt.dll_fputs
add esp, 0x10
jmp 0x415f0c
mov dword [ebp + 8], str.NULL_TREE_n
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
jmp fcn.00418fe0