Function at 0x407f93
Capabilities:
Write file on windows

Disassembly:
push 0x300
mov eax, 0x4542d5
call fcn.0043c810
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 0x4084cb
push edi
call fcn.00415501
pop ecx
test eax, eax
je 0x4084cb
cmp dword [ebp + 0xc], ebx
je 0x407ffe
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
call fcn.0040d2db
pop ecx
lea eax, [ebp - 0x124]
push eax
call esi
test eax, eax
je 0x40812e
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.0040a869
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.0040b993
mov byte [ebp - 4], 3
cmp dword [ebp - 0x130], ebx
jbe 0x4080fa
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x178]
call fcn.00435720
pop ecx
mov edi, dword [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00405ca7
push ebx
push 1
lea ecx, [ebp - 0x178]
call fcn.00405e00
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405e00
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.0040a8ec
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00435720
pop ecx
jmp 0x408535
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405e00
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.0040a8ec
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00435720
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.00405b78
push dword [ebp - 0x240]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 6
call fcn.00405b78
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x20c]
push eax
mov byte [ebp - 4], 7
call fcn.0041deb3
mov esi, eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x178]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.00435720
cmp dword [ebp + 0x10], ebx
push esi
setne al
lea ecx, [ebp - 0x1b0]
mov byte [esi + 0x1d], al
call fcn.0041df1d
push eax
lea esi, [ebp - 0x194]
mov byte [ebp - 4], 9
call fcn.0041f41d
mov edi, dword [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.00405ca7
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00405e00
lea eax, [ebp - 0x1b0]
push eax
mov byte [ebp - 4], 8
call fcn.00407d71
lea edi, [ebp - 0x20c]
call fcn.0041defb
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.00405e00
push ebx
push 1
lea ecx, [ebp - 0x178]
call fcn.00405e00
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x210], ebx
jmp 0x408387
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x408432
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 0x408432
push dword [ebp - 0x218]
lea eax, [ebp - 0x15c]
call fcn.00435720
pop ecx
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x148], 0x10
mov eax, dword [ebp - 0x15c]
jae 0x4083ea
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 0x408424
cmp dword [ebp + 0x18], 0x40
jbe 0x408424
lea eax, [ebp - 0x124]
push eax
call fcn.0041020f
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.00405e00
mov eax, dword [ebp - 0x210]
jmp 0x408537
cmp dword [0x475304], 3
jg 0x408535
push str.not_allowed_URL:
lea ecx, [ebp - 0x194]
call fcn.00405b78
push edi
push eax
lea eax, [ebp - 0x1b0]
push eax
mov dword [ebp - 4], ebx
call fcn.00435720
add esp, 0xc
push str.GetXmlFile
push 0x90
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov edx, eax
mov ecx, 0x475304
mov byte [ebp - 4], 1
call fcn.0041299a
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.00405e00
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.00405e00
xor eax, eax
call fcn.0043c86c
ret