Function at 0x40c9a1
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x467155
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x494284]
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 0x40ce90
push esi
call fcn.00418f54
pop ecx
test eax, eax
je 0x40ce90
cmp dword [ebp + 0x248], ebx
je 0x40ca41
lea eax, [ebp + 0x130]
push eax
push esi
call fcn.00411f52
pop ecx
pop ecx
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40cb02
push 1
push 0x40
push 1
lea eax, [ebp + 0x130]
push eax
lea ecx, [ebp]
call fcn.0040b8ba
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 0x40a71f
cmp dword [ebp + 0x128], 0
mov byte [ebp - 4], 3
jbe 0x40caef
lea eax, [ebp + 0x118]
push eax
lea eax, [ebp + 0xe8]
push eax
call fcn.004171ba
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.0040bf06
lea ecx, [ebp + 0xe8]
call fcn.00407d8d
lea ecx, [ebp + 0x118]
call fcn.00407d8d
lea ecx, [ebp]
call fcn.0040c229
jmp 0x40cefb
lea ecx, [ebp + 0x118]
call fcn.00407d8d
lea ecx, [ebp]
call fcn.0040c229
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.00402913
push esi
lea ecx, [ebp + 0xb8]
mov byte [ebp - 4], 5
call fcn.00402913
lea eax, [ebp + 0xb8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0x58]
call fcn.0042797d
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.0042a315
cmp dword [ebp - 0x14], 0
setne cl
movzx ecx, cl
push ecx
mov ecx, eax
call fcn.004293ea
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.0042a302
lea ecx, [ebp + 0xe8]
push ecx
mov ecx, eax
call fcn.00429351
lea ecx, [ebp + 0x58]
call fcn.00427cc5
lea ecx, [ebp + 0xb8]
call fcn.00407d8d
lea ecx, [ebp + 0xd0]
mov byte [ebp - 4], 0xb
call fcn.00407d8d
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x100]
push eax
call fcn.004171ba
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.0040bf06
lea ecx, [ebp + 0x100]
call fcn.00407d8d
lea ecx, [ebp + 0xe8]
mov esi, ebx
call fcn.00407d8d
or dword [ebp - 4], 0xffffffff
jmp 0x40cda7
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40ce54
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 0x40ce54
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.004171ba
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 0x40ce49
push 0x20
push 0x800c
push dword [ebp + 0x254]
lea eax, [ebp + 0x130]
push dword [ebp - 0x3c]
push eax
call fcn.00414620
add esp, 0x14
lea ecx, [ebp + 0x100]
call fcn.00407d8d
mov eax, esi
jmp 0x40cefd
push 3
call fcn.00418029
mov ecx, eax
call fcn.0041829a
test al, al
je 0x40cefb
push str.not_allowed_URL:
lea ecx, [ebp + 0xd0]
call fcn.00402913
push esi
push eax
lea eax, [ebp + 0xe8]
mov dword [ebp - 4], ebx
push eax
call fcn.00402254
add esp, 0xc
push eax
push str.GetXmlFile
push 0x78
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov byte [ebp - 4], 1
call fcn.00418029
mov ecx, eax
call fcn.004182a6
lea ecx, [ebp + 0xe8]
call fcn.00407d8d
lea ecx, [ebp + 0xd0]
call fcn.00407d8d
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.0043f9b7
add ebp, 0x238
leave
ret