Function at 0x407f70
Capabilities:
Write file on windows

Disassembly:
push 0x2f8
mov eax, 0x4386ac
call fcn.00425054
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x124], bl
call esi
test eax, eax
je 0x4084aa
mov eax, edi
call fcn.0041265d
test eax, eax
je 0x4084aa
cmp dword [ebp + 0xc], ebx
je 0x407fdb
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
call fcn.0040e69c
pop ecx
lea eax, [ebp - 0x124]
push eax
call esi
test eax, eax
je 0x40810b
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.0040a231
mov dword [ebp - 4], 2
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x304]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x2cc]
xor esi, esi
cmp eax, ebx
mov byte [ebp - 0x22c], 1
push dword [ebp - 0x22c]
sete cl
push esi
mov byte [ebp - 0x214], cl
push dword [ebp - 0x214]
mov dword [ebp - 0x12c], 0xf
push eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x130], ebx
mov byte [ebp - 0x140], bl
call fcn.0040cbe9
mov byte [ebp - 4], 3
cmp dword [ebp - 0x130], ebx
jbe 0x4080d7
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x15c]
call fcn.004148a1
pop ecx
mov edi, dword [ebp - 0x210]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00405ce9
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.00405dcc
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405dcc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.0040a2ca
lea eax, [ebp - 0x29c]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041d59c
pop ecx
jmp 0x408514
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405dcc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.0040a2ca
lea eax, [ebp - 0x29c]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041d59c
pop ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x214], 0x3c
mov dword [ebp - 0x208], 0x80004005
push str.jupdate
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 4], 5
call fcn.00405ac0
push dword [ebp - 0x238]
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 6
call fcn.00405ac0
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x204]
push eax
mov byte [ebp - 4], 7
call fcn.0041a45b
mov esi, eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x15c]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.00405d33
cmp dword [ebp + 0x10], ebx
mov ecx, esi
setne al
mov byte [esi + 0x1d], al
lea eax, [ebp - 0x13c]
push eax
call fcn.0041a4c2
push eax
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 9
call fcn.0041b7b7
mov edi, dword [ebp - 0x210]
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00405ce9
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00405dcc
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 8
call fcn.00407d4e
lea edi, [ebp - 0x204]
call fcn.0041a4a0
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00405dcc
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.00405dcc
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x208], ebx
jmp 0x408366
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x408411
push ebx
push 0x20
push 4
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x408411
push dword [ebp - 0x210]
lea eax, [ebp - 0x178]
call fcn.004148a1
pop ecx
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x164], 0x10
mov eax, dword [ebp - 0x178]
jae 0x4083c9
lea eax, [ebp - 0x178]
push ebx
lea ecx, [ebp - 0x234]
push ecx
push dword [ebp - 0x168]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x21c]
cmp ecx, ebx
je 0x408403
cmp dword [ebp + 0x18], 0x40
jbe 0x408403
lea eax, [ebp - 0x124]
push eax
call fcn.00410100
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x178]
call fcn.00405dcc
mov eax, dword [ebp - 0x208]
jmp 0x408516
cmp dword [0x44b6cc], 3
jg 0x408514
push str.not_allowed_URL:
lea ecx, [ebp - 0x15c]
call fcn.00405ac0
push edi
push eax
lea eax, [ebp - 0x194]
push eax
mov dword [ebp - 4], ebx
call fcn.004060d3
add esp, 0xc
push str.GetXmlFile
push 0x90
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u45_3627_install_make_au2.0_jucheck_UpdateCommon.cpp
push 3
mov edx, eax
mov ecx, 0x44b6cc
mov byte [ebp - 4], 1
call fcn.00412fce
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00405dcc
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.00405dcc
xor eax, eax
call fcn.004250b0
ret