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

Disassembly:
push 0xffffffffffffffff
push 0x45aef5
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.004337f5
add esp, 4
test al, al
jne 0x411e48
xor esi, esi
jmp 0x411e4c
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 0x411e6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x411ecf
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.004337f5
add esp, 4
test al, al
jne 0x411e9a
xor ebx, ebx
jmp 0x411e9e
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 0x411ebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 8
jne 0x411ecf
or dword [ebp + 0x50], 0x80
jmp 0x412315
push 5
push 0x35eb
push 0x45f58c
call fcn.00433314
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.00412670
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 0x411f44
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 0x411f6c
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 0x411fac
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x1f
push 0x1032
push str.Z_V_
call fcn.00433314
add esp, 0xc
push eax
lea edi, [esp + 0x30]
call fcn.004056f0
mov edx, edi
push edx
call fcn.0042b59c
add esp, 0xc
or dword [ebp + 0x50], 1
jmp 0x4124c7
call fcn.0043806c
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.00437eec
add esp, 8
mov byte [esp + 0x118], 4
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
push 0x1c
push 0x26aa
push 0x45f5b4
call fcn.00433314
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 0x412034
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 0x412071
push 0x9c
call fcn.00440328
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x118], 5
test eax, eax
je 0x412062
push eax
call fcn.0042868c
jmp 0x412064
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 0x45e954
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 0x4120fc
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 0x412124
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 0x41214c
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.004368ef
add esp, 4
lea edi, [ebp + 0x48]
push edi
push ebp
push 0x470928
lea eax, [esp + 0x4c]
push eax
call fcn.00431236
lea ebx, [esp + 0x2c]
mov byte [esp + 0x118], 9
call fcn.004315f7
xor ebx, ebx
cmp al, bl
jne 0x412200
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 0x41221d
mov ecx, dword [edi]
cmp dword [ecx - 0xc], ebx
jne 0x41221d
mov ecx, edi
call fcn.00402b00
push edi
push esi
mov ecx, 4
call fcn.0043539c
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 0x412250
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 0x41227b
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 0x4122a6
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 0x4122d1
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.0043a734
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 0x412309
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], bl
je 0x4124c7
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.004337f5
add esp, 4
test al, al
jne 0x41233f
xor esi, esi
jmp 0x412343
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 0x412363
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x4123be
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.004337f5
add esp, 4
test al, al
jne 0x412391
xor ebx, ebx
jmp 0x412395
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 0x4123b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x40
je 0x4124ba
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 0x41244c
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 0x412474
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 0x41249c
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.00412860
push ebp
call fcn.004136e0
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 0x412505
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x412540
mov eax, dword [ebp + 0xd4]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push eax
call esi
test eax, eax
jne 0x412540
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 3
je 0x412540
cmp eax, 2
je 0x412540
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 0x41257a
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.0043eaba
add esp, 0x108
ret 8