Function at 0x40bf69
Capabilities:
Write file on windows

Disassembly:
push 0x2b0
mov eax, 0x470640
call fcn.00452633
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 0x40c694
push edi
call fcn.00426781
pop ecx
test eax, eax
je 0x40c694
cmp dword [ebp + 0xc], ebx
je 0x40bfd4
lea eax, [ebp - 0x120]
push eax
mov ecx, edi
call fcn.0040f5e1
pop ecx
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
je 0x40c104
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0040dbca
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.0040e7a5
mov byte [ebp - 4], 3
cmp dword [ebp - 0x12c], ebx
jbe 0x40c0d0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x158]
call fcn.0042328f
pop ecx
mov edi, dword [ebp - 0x270]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00403055
push ebx
push 1
lea ecx, [ebp - 0x158]
call fcn.0040320c
push ebx
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040320c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.0040dc51
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004495ac
pop ecx
jmp 0x40c6fb
push ebx
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040320c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.0040dc51
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004495ac
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.00402450
push dword [ebp - 0x298]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.00402450
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x200]
push eax
mov byte [ebp - 4], 7
call fcn.00427469
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.004030fd
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.00428d08
lea edi, [ebp - 0x200]
call fcn.004274ca
push ebx
push 1
lea ecx, [ebp - 0x13c]
call fcn.0040320c
push ebx
push 1
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0xc
call fcn.0040320c
mov eax, esi
push eax
lea eax, [ebp - 0x190]
call fcn.0042328f
pop ecx
mov edi, dword [ebp - 0x270]
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00403055
push ebx
push 1
lea ecx, [ebp - 0x190]
call fcn.0040320c
push ebx
push 1
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x264], ebx
call fcn.0040320c
or dword [ebp - 4], 0xffffffff
jmp 0x40c4ca
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40c57b
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 0x40c57b
push dword [ebp - 0x270]
lea eax, [ebp - 0x190]
call fcn.0042328f
pop ecx
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x17c], 0x10
mov eax, dword [ebp - 0x190]
jae 0x40c52d
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 0x40c56d
cmp dword [ebp + 0x18], 0x40
jbe 0x40c56d
lea eax, [ebp - 0x120]
push 0x800c
push eax
call fcn.004134ca
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x190]
call fcn.0040320c
mov eax, dword [ebp - 0x264]
jmp 0x40c6fd
cmp dword [0x49c100], 3
jg 0x40c6fb
push str.not_allowed_URL:
lea ecx, [ebp - 0x25c]
call fcn.00402450
push edi
push eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 4], ebx
call fcn.0040e658
add esp, 0xc
push str.GetXmlFile
push 0x78
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov edx, eax
mov ecx, 0x49c100
mov byte [ebp - 4], 1
call fcn.00421620
push ebx
push 1
lea ecx, [ebp - 0x158]
call fcn.0040320c
push ebx
push 1
lea ecx, [ebp - 0x25c]
call fcn.0040320c
xor eax, eax
call fcn.0045268f
ret