Function at 0x41ff40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc8df
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2604
call fcn.004c4260
mov eax, dword [0x513330]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push str.____________________Entrance____________________
lea ecx, [ebp - 0x2560]
lea eax, [esi + 0x20]
push ecx
push eax
mov dword [ebp - 0x2558], esi
mov edi, edx
mov dword [ebp - 0x255c], eax
mov dword [ebp - 0x2560], str.CheckForUpdate_ClientServerComm_
call fcn.00471a00
add esp, 0xc
lea edx, [ebp - 0xd4]
mov dword [ebp - 4], 0
push edx
mov byte [ebp - 4], 1
call fcn.0045c150
mov byte [ebp - 4], 2
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [ebp - 0x2554], eax
mov byte [ebp - 4], 3
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x254c], ebx
lea eax, [ebp - 0x2544]
mov byte [ebp - 4], 4
call fcn.0042e6b0
mov ecx, 2
lea eax, [ebp - 0x2544]
call fcn.0042e720
cmp dword [edi + 0x6c], 0
je 0x42010f
lea esi, [ebp - 0x2548]
mov eax, edi
call fcn.00484eb0
mov esi, dword [eax]
lea eax, [ebp - 0x2544]
call fcn.0042e6b0
mov ecx, esi
lea edx, [ebp - 0x2544]
call fcn.0042dc10
mov esi, eax
mov eax, dword [ebp - 0x2548]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42006b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4200f6
push ecx
mov esi, esp
mov eax, edi
mov dword [ebp - 0x2548], esp
call fcn.00482c80
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov eax, edi
mov dword [ebp - 0x2550], esp
call fcn.0041c600
push ecx
mov byte [ebp - 4], 6
mov esi, esp
mov eax, edi
mov dword [ebp - 0x2564], esp
call fcn.00484eb0
mov edi, dword [ebp - 0x2558]
lea ecx, [ebp - 0x2614]
add edi, 0x60
push ecx
mov byte [ebp - 4], 4
call fcn.00410160
mov byte [ebp - 4], 7
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea edi, [ebp - 0x2614]
call fcn.004233a0
cmp eax, 0x64
jne 0x4200e7
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea eax, [ebp - 0x2614]
mov byte [ebp - 4], 4
call fcn.00410310
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x420366
cmp dword [edi + 0x70], 0
je 0x420346
mov eax, dword [esi + 0x60]
mov edx, dword [eax]
lea ecx, [esi + 0x60]
call edx
lea ecx, [ebp - 0x2554]
push ecx
push eax
call fcn.00450df0
mov eax, dword [ebp - 0x2554]
lea esi, [ebp - 0x254c]
call fcn.00424db0
lea esi, [ebp - 0x2550]
mov eax, edi
call fcn.0041c620
lea edx, [ebp - 0x2548]
push 0x4e9038
mov bl, 8
push edx
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.00422c60
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [eax]
push eax
lea esi, [ebp - 0x254c]
call fcn.00424e50
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2548]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2550]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x254c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2548], 0
lea ebx, [ebp - 0x2548]
mov dword [ebp - 0x2564], esp
mov esi, esp
call fcn.00408230
add eax, 0x10
mov dword [esi], eax
lea esi, [ebp - 0x2550]
mov eax, edi
mov byte [ebp - 4], 0xa
call fcn.0048c790
mov byte [ebp - 4], 0xb
push eax
mov edi, ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xc
call fcn.0045c4c0
test eax, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2550]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x420337
mov ecx, dword [ebp - 0x254c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420337
lea ecx, [ebp - 0x254c]
call fcn.00474f10
test al, al
jne 0x42028d
lea eax, [ebp - 0x254c]
call fcn.0046ba70
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x254c]
add eax, 0xfffffff0
jmp 0x420359
lea eax, [ebp - 0x2554]
call fcn.0046ba70
mov bl, al
test bl, bl
jne 0x420300
lea esi, [ebp - 0x2550]
call fcn.00424d90
lea esi, [ebp - 0x2548]
call fcn.00424d90
mov ecx, dword [ebp - 0x2558]
mov byte [ebp - 4], 0xe
mov edx, dword [ecx + 0x60]
mov eax, dword [edx]
add ecx, 0x60
call eax
mov ecx, esi
push ecx
lea edx, [ebp - 0x2550]
push edx
call fcn.00450b50
lea esi, [ebp - 0x2550]
lea edi, [ebp - 0x254c]
call fcn.0046ba10
lea ecx, [ebp - 0x2548]
call fcn.00405f50
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00405f50
jmp 0x420313
lea esi, [ebp - 0x2554]
lea edi, [ebp - 0x254c]
call fcn.0046ba10
and bl, al
mov esi, dword [ebp - 0x2558]
add esi, 0x60
call fcn.00487180
and bl, al
je 0x420337
cmp byte [ebp + 8], 0
je 0x420337
mov eax, dword [ebp - 0x2558]
push eax
call fcn.004203f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x254c]
add eax, 0xfffffff0
jmp 0x420359
cmp byte [ebp + 8], 0
je 0x420352
push esi
call fcn.004203f0
mov byte [ebp - 4], 3
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2554]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.0045c260
push str.______________________Exit______________________
lea ecx, [ebp - 0x2560]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x255c]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a52a5
mov esp, ebp
pop ebp
ret 4