Function at 0x4207c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a24e1
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x8cf144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc4], ebx
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
jle 0x420c56
mov eax, dword [ebx + 0x4c]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x420c56
nop word [eax + eax]
mov eax, dword [0x8d1674]
mov ebx, dword [esi + 0x18]
mov dword [ebp - 0xc0], ebx
test eax, eax
jne 0x420864
push 0xc
call fcn.006e611b
add esp, 4
mov dword [ebp - 0xc8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x420856
mov ecx, eax
call fcn.00509ed0
jmp 0x420858
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x8d1674], eax
push 0x35
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00509f80
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x420885
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edx], ax
jne 0x4208a2
xor ecx, ecx
jmp 0x4208b6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4208a7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402820
mov eax, dword [ebx]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 2
call dword [eax + 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4208e6
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402920
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x42091c
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00402920
xor eax, eax
mov dword [ebp - 0x74], 7
push str.InstallPicUrl
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.004026c0
mov eax, dword [ebx]
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, ebx
mov dword [ebp - 4], 3
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x8c]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x42097f
inc ecx
push ecx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xa0]
call fcn.00402920
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
test edi, edi
je 0x420a1b
lea eax, [ebp - 0x70]
push 0xd5
push eax
call fcn.00407660
mov ecx, eax
call fcn.00509f80
cmp dword [eax + 0x14], 8
jb 0x4209bd
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4209c5
mov edi, dword [edi]
mov cx, word [edi]
cmp cx, word [eax]
jne 0x4209eb
test cx, cx
je 0x4209e7
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x4209eb
add edi, 4
add eax, 4
test cx, cx
jne 0x4209c5
xor eax, eax
jmp 0x4209f0
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x5c]
sete byte [ebp - 0xb9]
cmp eax, 8
jb 0x420a0e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402920
cmp byte [ebp - 0xb9], 0
jne 0x420c41
test ebx, ebx
je 0x420c41
cmp dword [ebx + 0x14], 8
jb 0x420a2d
mov eax, dword [ebx]
jmp 0x420a2f
mov eax, ebx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0073b493
add esp, 8
mov dword [ebp - 4], 4
call fcn.00409060
mov ecx, eax
call fcn.00405f70
push eax
lea ecx, [ebp - 0x40]
call fcn.004026c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push 0xef
push eax
call fcn.00407660
mov ecx, eax
call fcn.00509f80
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004045a0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x420a9e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402920
push 1
push 0x8b5784
lea ecx, [ebp - 0x40]
call fcn.00404470
lea eax, [ebp - 0x70]
push 0x85
push eax
call fcn.00407660
mov ecx, eax
call fcn.00509f80
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004045a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00402680
push 1
push 0x8b5784
lea ecx, [ebp - 0x40]
call fcn.00404470
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0072a247
add esp, 4
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00402a50
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.004045a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x88]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004026c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push 0x3d
push eax
call fcn.00407660
mov ecx, eax
call fcn.00509f80
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x420b75
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x70]
call fcn.004026c0
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x70]
call fcn.00402680
lea ecx, [ebp - 0x58]
call fcn.00402680
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00402680
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420c0b
lea ecx, [ebp - 0xd4]
call fcn.00402520
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x40]
cmp dword [ebx + 0x14], 8
jb 0x420bef
mov ebx, dword [ebx]
push eax
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00402600
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.004025f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0073a69b
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00402680
lea ecx, [ebp - 0x40]
call fcn.00402680
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.00402680
mov eax, dword [ebp - 0xc4]
add esi, 0x1c
mov eax, dword [eax + 0x4c]
cmp esi, dword [eax + 8]
jne 0x420820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006e615c
mov esp, ebp
pop ebp
ret