Function at 0x401e0a
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x412244
mov esi, 0x80004005
call fcn.004095e5
push 0
call fcn.0040d2e5
lea eax, [ebp - 0x608]
push 0x400
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004098af
add esp, 0x14
test eax, eax
je 0x402090
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x708]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x608]
push eax
call fcn.0040c5ff
add esp, 0x10
test eax, eax
je 0x402090
lea eax, [ebp - 0x608]
mov dword [ebp + 8], 1
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x608]
push 0x412258
push eax
call ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x608]
push eax
call ebx
lea eax, [ebp - 0x608]
push str..xml
push eax
call ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
push dword [ebp + 0xc]
push str.UpdateServletURL
call fcn.00408f1f
add esp, 0xc
test eax, eax
jne 0x401f0a
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x108]
push eax
push str.http:__java.sun.com_update__s_map__s.xml
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [edi]
lea ecx, [ebp - 0x608]
push ecx
push dword [ebp + 0xc]
push edi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jl 0x401f45
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x208]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x708]
push edx
lea edx, [ebp - 0x608]
push edx
push eax
call dword [ecx + 0x14]
mov esi, eax
jmp 0x401f51
cmp esi, 0x80070202
je 0x401f51
and dword [ebp + 8], 0
test esi, esi
jl 0x401f77
mov eax, dword [edi]
lea ecx, [ebp - 0x608]
push ecx
push dword [ebp + 0xc]
push edi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jge 0x401f77
cmp esi, 0x80070202
je 0x401f77
and dword [ebp + 8], 0
mov ecx, edi
call fcn.004042fa
test esi, esi
jl 0x402001
lea esi, [ebp - 0x908]
mov ecx, dword [ebp - 4]
push esi
lea esi, [ebp - 0xa08]
push esi
lea esi, [ebp - 0x108]
push esi
mov edx, dword [ecx]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x608]
push eax
push ecx
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jl 0x402001
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0xa08]
push eax
call fcn.0040d469
add esp, 0x10
mov eax, dword [edi]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [eax + 0x14]
mov esi, eax
jmp 0x40205c
cmp dword [ebp + 0x1c], 0
je 0x40205c
cmp dword [ebp + 8], 0
je 0x40205c
lea eax, [ebp - 0x808]
push 0x100
push eax
push 0x71
push dword [0x4149a8]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0xc08]
push 0x200
push eax
push 0x87
push dword [0x4149a8]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x808]
push 0x40
push eax
lea eax, [ebp - 0xc08]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, 0x80070204
jne 0x402090
push 0
call fcn.0040d2e5
lea eax, [ebp - 0x608]
mov dword [esp], 0x400
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004098af
add esp, 0xc
test eax, eax
jne 0x401e5b
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x18