Function at 0x40bf99
Capabilities:
Write file on windows

Disassembly:
push 0x2b0
mov eax, 0x470652
call fcn.00452603
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.kernel32.dll_lstrlenA]
mov edi, ecx
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x28c], ebx
mov byte [ebp - 0x120], bl
call esi
test eax, eax
je 0x40c6c4
push edi
call fcn.0042668a
pop ecx
test eax, eax
je 0x40c6c4
cmp dword [ebp + 0xc], ebx
je 0x40c004
lea eax, [ebp - 0x120]
push eax
mov ecx, edi
call fcn.0040f553
pop ecx
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
je 0x40c134
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0040dbfa
mov dword [ebp - 4], 2
push dword [ebp - 0x274]
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x208]
xor esi, esi
cmp eax, ebx
mov byte [ebp - 0x290], 1
push dword [ebp - 0x290]
sete cl
push esi
mov byte [ebp - 0x284], cl
push dword [ebp - 0x284]
mov dword [ebp - 0x128], 0xf
push eax
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 0x13c], bl
call fcn.0040e795
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], ebx
jbe 0x40c100
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x158]
call fcn.0044abb0
pop ecx
mov edi, dword [ebp - 0x270]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00403068
push ebx
push 1
lea ecx, [ebp - 0x158]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040321f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.0040dc81
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0044abb0
pop ecx
jmp 0x40c72b
push ebx
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040321f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.0040dc81
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0044abb0
pop ecx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x26c], 0x3c
mov dword [ebp - 0x264], 0x80004005
push 5
pop edi
push str.jupdate
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x284], ebx
mov dword [ebp - 4], edi
call fcn.0040246d
push dword [ebp - 0x298]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.0040246d
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x200]
push eax
mov byte [ebp - 4], 7
call fcn.00427372
mov esi, eax
mov dword [ebp - 0x290], esi
push 0xffffffffffffffff
mov byte [ebp - 4], 8
push ebx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x2b0], ebx
call fcn.0044abb0
cmp dword [ebp + 0x10], ebx
mov ecx, dword [ebp - 0x290]
lea edi, [esi + 0x60]
setne al
mov byte [esi + 0x1d], al
lea esi, [ebp - 0x2b0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x158]
call fcn.00428c0e
lea edi, [ebp - 0x200]
call fcn.004273d3
push ebx
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0xc
call fcn.0040321f
mov eax, esi
push eax
lea eax, [ebp - 0x190]
call fcn.0044abb0
pop ecx
mov edi, dword [ebp - 0x270]
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00403068
push ebx
push 1
lea ecx, [ebp - 0x190]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x264], ebx
call fcn.0040321f
or dword [ebp - 4], 0xffffffff
jmp 0x40c4fa
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x40c5ab
push ebx
push 0x20
push 4
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c5ab
push dword [ebp - 0x270]
lea eax, [ebp - 0x190]
call fcn.0044abb0
pop ecx
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x17c], 0x10
mov eax, dword [ebp - 0x190]
jae 0x40c55d
lea eax, [ebp - 0x190]
push ebx
lea ecx, [ebp - 0x28c]
push ecx
push dword [ebp - 0x180]
push eax
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x274]
cmp ecx, ebx
je 0x40c59d
cmp dword [ebp + 0x18], 0x40
jbe 0x40c59d
lea eax, [ebp - 0x120]
push 0x800c
push eax
call fcn.00413402
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x190]
call fcn.0040321f
mov eax, dword [ebp - 0x264]
jmp 0x40c72d
cmp dword [0x49c100], 3
jg 0x40c72b
push str.not_allowed_URL:
lea ecx, [ebp - 0x25c]
call fcn.0040246d
push edi
push eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 4], ebx
call fcn.0044abb0
add esp, 0xc
push str.GetXmlFile
push 0x78
push str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov edx, eax
mov ecx, 0x49c100
mov byte [ebp - 4], 1
call fcn.00421538
push ebx
push 1
lea ecx, [ebp - 0x158]
call fcn.0040321f
push ebx
push 1
lea ecx, [ebp - 0x25c]
call fcn.0040321f
xor eax, eax
call fcn.0045265f
ret