Function at 0x40f490
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x47c97e
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4b4294]
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 0x40f97f
push esi
call fcn.004270cb
pop ecx
test eax, eax
je 0x40f97f
cmp dword [ebp + 0x248], ebx
je 0x40f530
lea eax, [ebp + 0x130]
push eax
push esi
call fcn.004116e3
pop ecx
pop ecx
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40f5f1
push 1
push 0x40
push 1
lea eax, [ebp + 0x130]
push eax
lea ecx, [ebp]
call fcn.0040e56d
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.0040d8e6
cmp dword [ebp + 0x128], 0
mov byte [ebp - 4], 3
jbe 0x40f5de
lea eax, [ebp + 0x118]
push eax
lea eax, [ebp + 0xe8]
push eax
call fcn.00424192
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00403b02
lea ecx, [ebp + 0xe8]
call fcn.00405bc4
lea ecx, [ebp + 0x118]
call fcn.00405bc4
lea ecx, [ebp]
call fcn.0040ec90
jmp 0x40f9ea
lea ecx, [ebp + 0x118]
call fcn.00405bc4
lea ecx, [ebp]
call fcn.0040ec90
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.0040317d
push esi
lea ecx, [ebp + 0xb8]
mov byte [ebp - 4], 5
call fcn.0040317d
lea eax, [ebp + 0xb8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0x58]
call fcn.004279a6
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.0042ab10
cmp dword [ebp - 0x14], 0
setne cl
movzx ecx, cl
push ecx
mov ecx, eax
call fcn.0042973a
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.0042aafd
lea ecx, [ebp + 0xe8]
push ecx
mov ecx, eax
call fcn.004296a1
lea ecx, [ebp + 0x58]
call fcn.00427e38
lea ecx, [ebp + 0xb8]
call fcn.00405bc4
lea ecx, [ebp + 0xd0]
mov byte [ebp - 4], 0xb
call fcn.00405bc4
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x100]
push eax
call fcn.00424192
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00403b02
lea ecx, [ebp + 0x100]
call fcn.00405bc4
lea ecx, [ebp + 0xe8]
mov esi, ebx
call fcn.00405bc4
or dword [ebp - 4], 0xffffffff
jmp 0x40f896
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40f943
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 0x40f943
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.00424192
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 0x40f938
push 0x20
push 0x800c
push dword [ebp + 0x254]
lea eax, [ebp + 0x130]
push dword [ebp - 0x3c]
push eax
call fcn.00415cf0
add esp, 0x14
lea ecx, [ebp + 0x100]
call fcn.00405bc4
mov eax, esi
jmp 0x40f9ec
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x40f9ea
push str.not_allowed_URL:
lea ecx, [ebp + 0xd0]
call fcn.0040317d
push esi
push eax
lea eax, [ebp + 0xe8]
mov dword [ebp - 4], ebx
push eax
call fcn.0040d968
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.00424fbb
mov ecx, eax
call fcn.004252ad
lea ecx, [ebp + 0xe8]
call fcn.00405bc4
lea ecx, [ebp + 0xd0]
call fcn.00405bc4
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.0044f332
add ebp, 0x238
leave
ret