Function at 0x407f9f
Capabilities:
Write file on windows

Disassembly:
push 0x300
mov eax, 0x455d40
call fcn.0043df4e
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, ecx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x23c], ebx
mov byte [ebp - 0x124], bl
call esi
test eax, eax
je 0x4084d7
push edi
call fcn.0041551e
pop ecx
test eax, eax
je 0x4084d7
cmp dword [ebp + 0xc], ebx
je 0x40800a
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
call fcn.0040d2dc
pop ecx
lea eax, [ebp - 0x124]
push eax
call esi
test eax, eax
je 0x40813a
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.0040a27b
mov dword [ebp - 4], 2
push dword [ebp - 0x224]
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x2d4]
xor esi, esi
cmp eax, ebx
mov byte [ebp - 0x234], 1
push dword [ebp - 0x234]
sete cl
push esi
mov byte [ebp - 0x21c], cl
push dword [ebp - 0x21c]
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.0040b956
mov byte [ebp - 4], 3
cmp dword [ebp - 0x130], ebx
jbe 0x408106
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x178]
call fcn.004146f1
pop ecx
mov edi, dword [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00405cd5
push ebx
push 1
lea ecx, [ebp - 0x178]
call fcn.00405db8
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405db8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.0040a302
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00435123
pop ecx
jmp 0x408541
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405db8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.0040a302
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00435123
pop ecx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x21c], 0x3c
mov dword [ebp - 0x210], 0x80004005
push str.jupdate
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], 5
call fcn.00405ba6
push dword [ebp - 0x240]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 6
call fcn.00405ba6
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x20c]
push eax
mov byte [ebp - 4], 7
call fcn.0041f07e
mov esi, eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x178]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.00405d1f
cmp dword [ebp + 0x10], ebx
push esi
setne al
lea ecx, [ebp - 0x1b0]
mov byte [esi + 0x1d], al
call fcn.0041f0e8
push eax
lea esi, [ebp - 0x194]
mov byte [ebp - 4], 9
call fcn.004205e8
mov edi, dword [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00405cd5
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00405db8
lea eax, [ebp - 0x1b0]
push eax
mov byte [ebp - 4], 8
call fcn.00407d7d
lea edi, [ebp - 0x20c]
call fcn.0041f0c6
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405db8
push ebx
push 1
lea ecx, [ebp - 0x178]
call fcn.00405db8
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x210], ebx
jmp 0x408393
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40843e
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 0x40843e
push dword [ebp - 0x218]
lea eax, [ebp - 0x15c]
call fcn.004146f1
pop ecx
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x148], 0x10
mov eax, dword [ebp - 0x15c]
jae 0x4083f6
lea eax, [ebp - 0x15c]
push ebx
lea ecx, [ebp - 0x23c]
push ecx
push dword [ebp - 0x14c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x224]
cmp ecx, ebx
je 0x408430
cmp dword [ebp + 0x18], 0x40
jbe 0x408430
lea eax, [ebp - 0x124]
push eax
call fcn.004101ed
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.00405db8
mov eax, dword [ebp - 0x210]
jmp 0x408543
cmp dword [0x4774c0], 3
jg 0x408541
push str.not_allowed_URL:
lea ecx, [ebp - 0x194]
call fcn.00405ba6
push edi
push eax
lea eax, [ebp - 0x1b0]
push eax
mov dword [ebp - 4], ebx
call fcn.004060b0
add esp, 0xc
push str.GetXmlFile
push 0x90
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov edx, eax
mov ecx, 0x4774c0
mov byte [ebp - 4], 1
call fcn.00412978
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00405db8
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00405db8
xor eax, eax
call fcn.0043dfaa
ret