Function at 0x411cf0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45ae65
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x46f1b0]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x120]
lea ecx, [ebp + 0xe0]
call fcn.00402b00
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x124]
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x118], edi
push ecx
mov dword [ebp + 0xd8], eax
mov byte [esp + 0x27], 1
mov dword [esp + 0x1c], edi
call fcn.00429d2d
lea edx, [esp + 0x1c]
add esp, 4
push edx
lea eax, [esp + 0x20]
call fcn.00433aea
add esp, 4
test al, al
jne 0x411d98
xor esi, esi
jmp 0x411d9c
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411dbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x411e1f
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], edi
call fcn.00429d2d
lea edx, [esp + 0x1c]
add esp, 4
push edx
lea eax, [esp + 0x18]
call fcn.00433aea
add esp, 4
test al, al
jne 0x411dea
xor ebx, ebx
jmp 0x411dee
mov bl, byte [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 8
jne 0x411e1f
or dword [ebp + 0x50], 0x80
jmp 0x412265
push 5
push 0x3620
push 0x45f59c
call fcn.00433609
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.00402830
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
mov byte [esp + 0x120], 1
call fcn.004125c0
lea esi, [ebp + 0xd4]
push eax
mov ecx, esi
mov byte [esp + 0x11c], 2
call fcn.00402d80
mov byte [esp + 0x118], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ebc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], edi
jne 0x411efc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x1f
push 0x2085
push str._bP_P___PPH.E__4I_v8_0_P
call fcn.00433609
add esp, 0xc
push eax
lea edi, [esp + 0x30]
call fcn.004056f0
mov edx, edi
push edx
call fcn.0042b850
add esp, 0xc
or dword [ebp + 0x50], 1
jmp 0x412417
call fcn.0043835e
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push esi
push eax
mov byte [esp + 0x120], 3
call fcn.004381de
add esp, 8
mov byte [esp + 0x118], 4
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
push 0x1c
push 0x169d
push 0x45f5c4
call fcn.00433609
add esp, 0xc
push eax
lea edi, [esp + 0x24]
call fcn.004056f0
mov byte [esp + 0x124], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4729fc]
test eax, eax
jne 0x411fc1
push 0x9c
call fcn.004402d1
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x118], 5
test eax, eax
je 0x411fb2
push eax
call fcn.0042868c
jmp 0x411fb4
xor eax, eax
mov byte [esp + 0x118], 3
mov dword [0x4729fc], eax
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00428f33
push str.Downloading
lea ecx, [esp + 0x28]
call fcn.00402830
lea edx, [ebp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov byte [esp + 0x120], 6
call fcn.00409fa0
lea edx, [esp + 0x1c]
push 0x45e964
mov bl, 7
push edx
mov ecx, eax
mov byte [esp + 0x128], bl
call fcn.0040a060
add esp, 0x10
mov byte [esp + 0x118], 8
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov byte [esp + 0x118], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41204c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412074
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41209c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0
call eax
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0
call eax
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
push 0
call eax
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
push 1
call eax
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0xd8]
push ecx
lea edx, [ebp + 0xc]
push edx
push esi
push eax
lea ecx, [ebp + 8]
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00436be1
add esp, 4
lea edi, [ebp + 0x48]
push edi
push ebp
push 0x470928
lea eax, [esp + 0x4c]
push eax
call fcn.0043152b
lea ebx, [esp + 0x2c]
mov byte [esp + 0x118], 9
call fcn.004318ec
xor ebx, ebx
cmp al, bl
jne 0x412150
mov eax, dword [esp + 0x104]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
or dword [ebp + 0x50], eax
mov byte [esp + 0x23], bl
jmp 0x41216d
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
jne 0x41216d
mov ecx, edi
call fcn.00402b00
push edi
push esi
mov ecx, 4
call fcn.0043568e
add esp, 8
mov dword [esp + 0x2c], vtable.SAI::CAppInternetRequest.0
mov byte [esp + 0x118], 0xd
mov eax, dword [esp + 0xfc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4121a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 0xc
mov eax, dword [esp + 0xf8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 0xb
mov eax, dword [esp + 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 0xa
mov eax, dword [esp + 0xf0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 3
call fcn.0043aa26
mov byte [esp + 0x118], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], bl
je 0x412417
xor edi, edi
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], edi
call fcn.00429d2d
lea edx, [esp + 0x18]
add esp, 4
push edx
lea eax, [esp + 0x20]
call fcn.00433aea
add esp, 4
test al, al
jne 0x41228f
xor esi, esi
jmp 0x412293
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4122b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x41230e
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], edi
call fcn.00429d2d
lea edx, [esp + 0x18]
add esp, 4
push edx
lea eax, [esp + 0x1c]
call fcn.00433aea
add esp, 4
test al, al
jne 0x4122e1
xor ebx, ebx
jmp 0x4122e5
mov bl, byte [esp + 0x14]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x40
je 0x41240a
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push edi
call eax
push str.Installing
lea ecx, [esp + 0x20]
call fcn.00402830
lea ecx, [ebp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
mov byte [esp + 0x120], 0xe
call fcn.00409fa0
lea ecx, [esp + 0x2c]
push str._...
push ecx
mov bl, 0xf
mov ecx, eax
mov byte [esp + 0x128], bl
call fcn.0040a060
add esp, 0x10
mov byte [esp + 0x118], 0x10
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov byte [esp + 0x118], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41239c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 0xe
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4123c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x118], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4123ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
push 0
call eax
mov ecx, dword [ebp + 0xd8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
push 0
call eax
mov esi, ebp
call fcn.004127b0
push ebp
call fcn.00413630
mov eax, dword [ebp + 0xd4]
sub eax, 0x10
push eax
call fcn.00403010
add esp, 4
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
lea eax, [esi - 0x10]
sete bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x412490
mov eax, dword [ebp + 0xd4]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push eax
call esi
test eax, eax
jne 0x412490
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 3
je 0x412490
cmp eax, 2
je 0x412490
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp + 0xd4]
push eax
call esi
mov ecx, dword [ebp + 0x50]
and ecx, 0x80
cmp cl, 0x80
mov dword [esp + 0x118], 0xffffffff
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4124ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.0043ea6a
add esp, 0x108
ret 8