Function at 0x416e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425f20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x433610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push 0x20019
push str.SoftwareSkypePhone
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00406800
test eax, eax
jne 0x416f76
mov eax, dword [0x4335d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4335d8
call edx
lea ecx, [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0x104
jge 0x416f09
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401af0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push ecx
push 0x42a4ac
lea ecx, [ebp - 0x20]
call fcn.00401490
test eax, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
setne bl
call fcn.00417d2a
add esp, 8
cmp eax, edi
jl 0x4170ce
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x4170ce
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
test bl, bl
je 0x416f98
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], cl
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x416f84
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x416fbf
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x416f6a
add eax, 0xfffffff0
push eax
call fcn.00401b50
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
mov byte [ebp - 4], 2
call fcn.00404d50
add esp, 8
test al, al
lea eax, [esi - 0x10]
sete bl
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
test bl, bl
je 0x417013
mov byte [ebp - 4], 0
jmp 0x416f5d
push eax
call fcn.00401b50
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push str.Skype_Technologies_SA
push esi
mov byte [ebp - 4], 3
call fcn.00404e00
add esp, 0xc
test al, al
lea eax, [esi - 0x10]
sete bl
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417056
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41707e
lea ecx, [ebp - 0x10]
call fcn.00401ad0
lea ecx, [ebp - 0x20]
call fcn.00401910
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401b50
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
add eax, 0x10
push edx
mov dword [ebp - 0x14], eax
call fcn.00416da0
add esp, 0xc
lea ecx, [ebp - 0x14]
mov bl, al
call fcn.00401ad0
lea ecx, [ebp - 0x10]
call fcn.00401ad0
lea ecx, [ebp - 0x20]
call fcn.00401910
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004010d0
int3