Function at 0x40fcc0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x47b96b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4b34c4]
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 0x4101af
push esi
call fcn.0042801c
pop ecx
test eax, eax
je 0x4101af
cmp dword [ebp + 0x248], ebx
je 0x40fd60
lea eax, [ebp + 0x130]
push eax
push esi
call fcn.00411f80
pop ecx
pop ecx
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40fe21
push 1
push 0x40
push 1
lea eax, [ebp + 0x130]
push eax
lea ecx, [ebp]
call fcn.0040ed0f
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.0040e177
cmp dword [ebp + 0x128], 0
mov byte [ebp - 4], 3
jbe 0x40fe0e
lea eax, [ebp + 0x118]
push eax
lea eax, [ebp + 0xe8]
push eax
call fcn.00425113
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00404268
lea ecx, [ebp + 0xe8]
call fcn.004063d7
lea ecx, [ebp + 0x118]
call fcn.004063d7
lea ecx, [ebp]
call fcn.0040f425
jmp 0x41021a
lea ecx, [ebp + 0x118]
call fcn.004063d7
lea ecx, [ebp]
call fcn.0040f425
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.004038cc
push esi
lea ecx, [ebp + 0xb8]
mov byte [ebp - 4], 5
call fcn.004038cc
lea eax, [ebp + 0xb8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0x58]
call fcn.00428952
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.0042bbd4
cmp dword [ebp - 0x14], 0
setne cl
movzx ecx, cl
push ecx
mov ecx, eax
call fcn.0042a7f2
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.0042bbc1
lea ecx, [ebp + 0xe8]
push ecx
mov ecx, eax
call fcn.0042a757
lea ecx, [ebp + 0x58]
call fcn.00428e38
lea ecx, [ebp + 0xb8]
call fcn.004063d7
lea ecx, [ebp + 0xd0]
mov byte [ebp - 4], 0xb
call fcn.004063d7
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x100]
push eax
call fcn.00425113
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.00404268
lea ecx, [ebp + 0x100]
call fcn.004063d7
lea ecx, [ebp + 0xe8]
mov esi, ebx
call fcn.004063d7
or dword [ebp - 4], 0xffffffff
jmp 0x4100c6
lea eax, [ebp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x410173
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 0x410173
lea eax, [ebp + 0x100]
push edi
push eax
call fcn.00425113
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 0x410168
push 0x20
push 0x800c
push dword [ebp + 0x254]
lea eax, [ebp + 0x130]
push dword [ebp - 0x3c]
push eax
call fcn.00416863
add esp, 0x14
lea ecx, [ebp + 0x100]
call fcn.004063d7
mov eax, esi
jmp 0x41021c
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x41021a
push str.not_allowed_URL:
lea ecx, [ebp + 0xd0]
call fcn.004038cc
push esi
push eax
lea eax, [ebp + 0xe8]
mov dword [ebp - 4], ebx
push eax
call fcn.0040e1be
add esp, 0xc
push eax
push str.GetXmlFile
push 0x78
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov byte [ebp - 4], 1
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp + 0xe8]
call fcn.004063d7
lea ecx, [ebp + 0xd0]
call fcn.004063d7
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.00450e68
add ebp, 0x238
leave
ret