Function at 0x40cf1b
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x467065
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x494334]
xor eax, ebp
mov dword [ebp + 0x234], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x24c]
xor ebx, ebx
mov esi, dword [ebp + 0x240]
mov edi, dword [ebp + 0x244]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x250]
push esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
mov byte [ebp + 0x130], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40d40a
push esi
call fcn.00419a5d
pop ecx
test eax, eax
je 0x40d40a
cmp dword [ebp + 0x248], ebx
je 0x40cfbb
lea eax, [ebp + 0x130]
push eax
push esi
call fcn.00412829
pop ecx
pop ecx
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40d07c
push 1
push 0x40
push 1
lea eax, [ebp + 0x130]
push eax
lea ecx, [ebp]
call fcn.0040bdd9
mov eax, dword [ebp]
lea ecx, [ebp - 0x1d]
push ecx
mov word [ebp - 0x34], 1
lea ecx, [ebp + 0x118]
push dword [ebp - 0x34]
mov eax, dword [eax + 4]
push ebx
mov byte [ebp - 0x2b], bl
mov dword [ebp - 4], 2
mov eax, dword [ebp + eax + 0x38]
test eax, eax
sete byte [ebp - 0x2c]
push dword [ebp - 0x2c]
push eax
call fcn.0040ad87
cmp dword [ebp + 0x128], 0
mov byte [ebp - 4], 3
jbe 0x40d069
lea eax, [ebp + 0x118]
push eax
lea eax, [ebp + 0xe8]
push eax
call fcn.00417a72
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.0040c3e5
lea ecx, [ebp + 0xe8]
call fcn.00408398
lea ecx, [ebp + 0x118]
call fcn.00408398
lea ecx, [ebp]
call fcn.0040c708
jmp 0x40d475
lea ecx, [ebp + 0x118]
call fcn.00408398
lea ecx, [ebp]
call fcn.0040c708
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x18], 0x80004005
push str.jupdate
lea ecx, [ebp + 0xd0]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 4
call fcn.00402f12
push esi
lea ecx, [ebp + 0xb8]
mov byte [ebp - 4], 5
call fcn.00402f12
lea eax, [ebp + 0xb8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0x58]
call fcn.004288a6
push 5
pop ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
lea ecx, [ebp + 0xd0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x4c], ebx
call fcn.0042b3a1
cmp dword [ebp - 0x14], 0
setne cl
movzx ecx, cl
push ecx
mov ecx, eax
call fcn.0042a46a
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.0042b38e
lea ecx, [ebp + 0xe8]
push ecx
mov ecx, eax
call fcn.0042a3cf
lea ecx, [ebp + 0x58]
call fcn.00428c88
lea ecx, [ebp + 0xb8]
call fcn.00408398
lea ecx, [ebp + 0xd0]
mov byte [ebp - 4], 0xb
call fcn.00408398
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x100]
push eax
call fcn.00417a72
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.0040c3e5
lea ecx, [ebp + 0x100]
call fcn.00408398
lea ecx, [ebp + 0xe8]
mov esi, ebx
call fcn.00408398
or dword [ebp - 4], 0xffffffff
jmp 0x40d321
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40d3ce
push ebx
push 0x20
push 4
push ebx
push ebx
push 0x40000000
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x40d3ce
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.00417a72
pop ecx
pop ecx
cmp dword [ebp + 0x114], 0x10
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp + 0x100]
cmovae eax, dword [ebp + 0x100]
push ebx
push ecx
push dword [ebp + 0x110]
mov dword [ebp - 4], 0xd
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3c], 0
je 0x40d3c3
push 0x20
push 0x800c
push dword [ebp + 0x254]
lea eax, [ebp + 0x130]
push dword [ebp - 0x3c]
push eax
call fcn.00414ef3
add esp, 0x14
lea ecx, [ebp + 0x100]
call fcn.00408398
mov eax, esi
jmp 0x40d477
push 3
call fcn.00418a5b
mov ecx, eax
call fcn.00418cc4
test al, al
je 0x40d475
push str.not_allowed_URL:
lea ecx, [ebp + 0xd0]
call fcn.00402f12
push esi
push eax
lea eax, [ebp + 0xe8]
mov dword [ebp - 4], ebx
push eax
call fcn.00402944
add esp, 0xc
push eax
push str.GetXmlFile
push 0x78
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u401_683_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov byte [ebp - 4], 1
call fcn.00418a5b
mov ecx, eax
call fcn.00418cd0
lea ecx, [ebp + 0xe8]
call fcn.00408398
lea ecx, [ebp + 0xd0]
call fcn.00408398
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
call fcn.0044119a
add ebp, 0x238
leave
ret