Function at 0x408e8d
Capabilities:
Write file on windows

Disassembly:
push 0x2b4
mov eax, 0x45f38f
call fcn.0043a74b
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 0x40941e
mov ecx, esi
call fcn.00417773
test eax, eax
je 0x40941e
cmp dword [ebp + 8], ebx
je 0x408ef9
lea edx, [ebp - 0x124]
mov ecx, esi
call fcn.0041147a
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x409038
sub esp, 0xc
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x284]
push eax
call fcn.0040a05e
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.0040c7c7
mov byte [ebp - 4], 3
cmp dword [ebp - 0x15c], 0
jbe 0x409004
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x12c], ebx
push eax
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x128], ebx
call fcn.00407be2
lea eax, [ebp - 0x13c]
mov ecx, edi
push eax
call fcn.00409fe1
lea ecx, [ebp - 0x13c]
call fcn.00406b80
lea ecx, [ebp - 0x16c]
call fcn.00406b80
lea ecx, [ebp - 0x214]
call fcn.0040a01b
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.00438be4
pop ecx
jmp 0x40947c
lea ecx, [ebp - 0x16c]
call fcn.00406b80
lea ecx, [ebp - 0x214]
call fcn.0040a01b
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.00438be4
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.004069c2
push esi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 7
call fcn.004069c2
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x22c]
call fcn.0041c1cd
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.00409fbb
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.0041d4ad
lea ecx, [ebp - 0x22c]
call fcn.0041c23a
lea ecx, [ebp - 0x1cc]
call fcn.00406b80
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0xd
call fcn.00406b80
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x174], ebx
push eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x170], ebx
call fcn.00407be2
mov esi, dword [ebp - 0x294]
lea eax, [ebp - 0x184]
push eax
mov ecx, esi
call fcn.00409fe1
lea ecx, [ebp - 0x184]
call fcn.00406b80
lea ecx, [ebp - 0x1b4]
mov edi, ebx
call fcn.00406b80
or dword [ebp - 4], 0xffffffff
jmp 0x40932d
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4093e2
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 0x4093e2
push esi
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
call fcn.00407be2
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 0x4093d7
cmp dword [ebp + 0x14], 0x40
jbe 0x4093d7
lea ecx, [ebp - 0x124]
call fcn.00412d7b
lea ecx, [ebp - 0x154]
call fcn.00406b80
mov eax, edi
jmp 0x40947e
cmp dword [0x48e68c], 3
jg 0x40947c
push str.not_allowed_URL:
lea ecx, [ebp - 0x19c]
call fcn.004069c2
push esi
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1b4]
call fcn.00406cd3
pop ecx
push eax
push str.GetXmlFile
push 0x78
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u333_2551_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov ecx, 0x48e68c
mov byte [ebp - 4], 1
call fcn.00417d0d
lea ecx, [ebp - 0x1b4]
call fcn.00406b80
lea ecx, [ebp - 0x19c]
call fcn.00406b80
xor eax, eax
call fcn.0043a698
ret