Function at 0x40b9b0
Capabilities:
Write file on windows

Disassembly:
push 0x300
mov eax, 0x46df1c
call fcn.004510e8
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, ecx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x23c], ebx
mov byte [ebp - 0x124], bl
call esi
test eax, eax
je 0x40beea
push edi
call fcn.00429057
pop ecx
test eax, eax
je 0x40beea
cmp dword [ebp + 0xc], ebx
je 0x40ba1b
lea eax, [ebp - 0x124]
push eax
mov ecx, edi
call fcn.004110d2
pop ecx
lea eax, [ebp - 0x124]
push eax
call esi
test eax, eax
je 0x40bb4b
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.0040dfe0
mov dword [ebp - 4], 2
push dword [ebp - 0x224]
mov eax, dword [ebp - 0x30c]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x2d4]
xor esi, esi
cmp eax, ebx
mov byte [ebp - 0x234], 1
push dword [ebp - 0x234]
sete cl
push esi
mov byte [ebp - 0x21c], cl
push dword [ebp - 0x21c]
mov dword [ebp - 0x12c], 0xf
push eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0x130], ebx
mov byte [ebp - 0x140], bl
call fcn.0040ef1a
mov byte [ebp - 4], 3
cmp dword [ebp - 0x130], ebx
jbe 0x40bb17
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x178]
call fcn.00424821
pop ecx
mov edi, dword [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 4
call fcn.004030fd
push ebx
push 1
lea ecx, [ebp - 0x178]
call fcn.004031e0
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.004031e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.0040e067
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447b87
pop ecx
jmp 0x40bf54
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.004031e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.0040e067
lea eax, [ebp - 0x2a4]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00447b87
pop ecx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x21c], 0x3c
mov dword [ebp - 0x210], 0x80004005
push str.jupdate
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], 5
call fcn.00402559
push dword [ebp - 0x240]
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 6
call fcn.00402559
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x20c]
push eax
mov byte [ebp - 4], 7
call fcn.00429c37
mov esi, eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x178]
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.00403147
cmp dword [ebp + 0x10], ebx
push 1
setne al
push esi
lea ecx, [ebp - 0x1b0]
mov byte [esi + 0x1d], al
call fcn.00429cc4
push eax
lea esi, [ebp - 0x194]
mov byte [ebp - 4], 9
call fcn.0042b4bb
mov edi, dword [ebp - 0x218]
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.004030fd
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.004031e0
lea eax, [ebp - 0x1b0]
push eax
mov byte [ebp - 4], 8
call fcn.00409dda
lea edi, [ebp - 0x20c]
call fcn.00429c7f
push ebx
push 1
lea ecx, [ebp - 0x140]
call fcn.004031e0
push ebx
push 1
lea ecx, [ebp - 0x178]
call fcn.004031e0
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x210], ebx
jmp 0x40bda6
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x40be51
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 esi, eax
cmp esi, 0xffffffff
je 0x40be51
push dword [ebp - 0x218]
lea eax, [ebp - 0x15c]
call fcn.00424821
pop ecx
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x148], 0x10
mov eax, dword [ebp - 0x15c]
jae 0x40be09
lea eax, [ebp - 0x15c]
push ebx
lea ecx, [ebp - 0x23c]
push ecx
push dword [ebp - 0x14c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x224]
cmp ecx, ebx
je 0x40be43
cmp dword [ebp + 0x18], 0x40
jbe 0x40be43
lea eax, [ebp - 0x124]
push eax
call fcn.00413eb4
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x15c]
call fcn.004031e0
mov eax, dword [ebp - 0x210]
jmp 0x40bf56
cmp dword [0x4991c0], 3
jg 0x40bf54
push str.not_allowed_URL:
lea ecx, [ebp - 0x194]
call fcn.00402559
push edi
push eax
lea eax, [ebp - 0x1b0]
push eax
mov dword [ebp - 4], ebx
call fcn.0040ed8f
add esp, 0xc
push str.GetXmlFile
push 0x90
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u74_6087_install_src_windows_au_jucheck_UpdateCommon.cpp
push 3
mov edx, eax
mov ecx, 0x4991c0
mov byte [ebp - 4], 1
call fcn.00423cf0
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.004031e0
push ebx
push 1
lea ecx, [ebp - 0x194]
call fcn.004031e0
xor eax, eax
call fcn.00451144
ret