Function at 0x40d401
Capabilities:
Write file on windows

Disassembly:
push 0x2b4
mov eax, 0x472d21
call fcn.00448e4b
mov edi, edx
mov dword [ebp - 0x294], edi
mov esi, ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push esi
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2b4], ebx
mov byte [ebp - 0x124], bl
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x40d99c
mov ecx, esi
call fcn.00426f0a
test eax, eax
je 0x40d99c
cmp dword [ebp + 8], ebx
je 0x40d46d
lea edx, [ebp - 0x124]
mov ecx, esi
call fcn.00410728
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x40d5ac
sub esp, 0xc
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x284]
push eax
call fcn.0040e601
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x16c]
mov eax, dword [ebp - 0x284]
push dword [ebp - 0x2b0]
mov word [ebp - 0x29c], 1
push dword [ebp - 0x29c]
mov eax, dword [eax + 4]
push ebx
mov byte [ebp - 0x2a3], bl
mov dword [ebp - 0x15c], ebx
mov eax, dword [ebp + eax - 0x24c]
test eax, eax
mov dword [ebp - 0x158], 0xf
sete byte [ebp - 0x2a4]
mov byte [ebp - 0x16c], bl
push dword [ebp - 0x2a4]
push eax
call fcn.0040f876
mov byte [ebp - 4], 3
cmp dword [ebp - 0x15c], 0
jbe 0x40d578
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x12c], ebx
push eax
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], ebx
call fcn.00404b39
lea eax, [ebp - 0x13c]
mov ecx, edi
push eax
call fcn.0044a955
lea ecx, [ebp - 0x13c]
call fcn.004049c7
lea ecx, [ebp - 0x16c]
call fcn.004049c7
lea ecx, [ebp - 0x214]
call fcn.0040e5be
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0044a955
pop ecx
jmp 0x40d9fa
lea ecx, [ebp - 0x16c]
call fcn.004049c7
lea ecx, [ebp - 0x214]
call fcn.0040e5be
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0044a955
pop ecx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x290], 0x3c
mov dword [ebp - 0x288], 0x80004005
push str.jupdate
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 4], 6
call fcn.00403e12
push esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 7
call fcn.00403e12
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x22c]
call fcn.00422642
mov esi, eax
mov dword [ebp - 0x29c], esi
mov byte [ebp - 4], 9
lea eax, [ebp - 0x19c]
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 0x144], 5
mov dword [ebp - 0x140], 5
mov dword [ebp - 0x148], ebx
call fcn.00403d9a
cmp dword [ebp + 0xc], 0
lea edi, [esi + 0x50]
mov ecx, dword [ebp - 0x29c]
setne al
mov byte [esi + 0x19], al
lea esi, [ebp - 0x148]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1b4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00423d50
lea ecx, [ebp - 0x22c]
call fcn.004226af
lea ecx, [ebp - 0x1cc]
call fcn.004049c7
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0xd
call fcn.004049c7
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x174], ebx
push eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x170], ebx
call fcn.00404b39
mov esi, dword [ebp - 0x294]
lea eax, [ebp - 0x184]
push eax
mov ecx, esi
call fcn.0044a955
lea ecx, [ebp - 0x184]
call fcn.004049c7
lea ecx, [ebp - 0x1b4]
mov edi, ebx
call fcn.004049c7
or dword [ebp - 4], 0xffffffff
jmp 0x40d8a1
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
test eax, eax
je 0x40d960
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 dword [ebp - 0x29c], eax
cmp eax, 0xffffffff
je 0x40d960
push esi
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
call fcn.00404b39
push ebx
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x2b4]
cmp dword [ebp - 0x140], 0x10
lea eax, [ebp - 0x154]
mov esi, dword [ebp - 0x29c]
cmovae eax, dword [ebp - 0x154]
push ecx
push dword [ebp - 0x144]
push eax
push esi
call dword [sym.imp.kernel32.dll_WriteFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0x2b0]
test edx, edx
je 0x40d955
cmp dword [ebp + 0x14], 0x40
jbe 0x40d955
push 0x800c
lea ecx, [ebp - 0x124]
call fcn.0041408e
pop ecx
lea ecx, [ebp - 0x154]
call fcn.004049c7
mov eax, edi
jmp 0x40d9fc
cmp dword [0x4ac0bc], 3
jg 0x40d9fa
push str.not_allowed_URL:
lea ecx, [ebp - 0x19c]
call fcn.00403e12
push esi
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1b4]
call fcn.0044a955
pop ecx
push eax
push str.GetXmlFile
push 0x78
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 1
call fcn.00427250
lea ecx, [ebp - 0x1b4]
call fcn.004049c7
lea ecx, [ebp - 0x19c]
call fcn.004049c7
xor eax, eax
call fcn.00448d98
ret