Function at 0x421600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a1051
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x8ca144]
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 0x421a96
mov eax, dword [ebx + 0x4c]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x421a96
nop word [eax + eax]
mov eax, dword [0x8cc674]
mov ebx, dword [esi + 0x18]
mov dword [ebp - 0xc0], ebx
test eax, eax
jne 0x4216a4
push 0xc
call fcn.006e707a
add esp, 4
mov dword [ebp - 0xc8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x421696
mov ecx, eax
call fcn.005130d0
jmp 0x421698
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x8cc674], eax
push 0x35
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00513180
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 1
jb 0x4216c5
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 0x4216e2
xor ecx, ecx
jmp 0x4216f6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4216e7
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 0x421726
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 0x42175c
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 0x4217bf
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 0x42185b
lea eax, [ebp - 0x70]
push 0xd5
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
jb 0x4217fd
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x421805
mov edi, dword [edi]
mov cx, word [edi]
cmp cx, word [eax]
jne 0x42182b
test cx, cx
je 0x421827
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x42182b
add edi, 4
add eax, 4
test cx, cx
jne 0x421805
xor eax, eax
jmp 0x421830
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x5c]
sete byte [ebp - 0xb9]
cmp eax, 8
jb 0x42184e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402920
cmp byte [ebp - 0xb9], 0
jne 0x421a81
test ebx, ebx
je 0x421a81
cmp dword [ebx + 0x14], 8
jb 0x42186d
mov eax, dword [ebx]
jmp 0x42186f
mov eax, ebx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00739dc1
add esp, 8
mov dword [ebp - 4], 4
call fcn.00409640
mov ecx, eax
call fcn.00405fb0
push eax
lea ecx, [ebp - 0x40]
call fcn.004026c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push 0xef
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004045f0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4218de
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402920
push 1
push 0x8b08b4
lea ecx, [ebp - 0x40]
call fcn.004044c0
lea eax, [ebp - 0x70]
push 0x85
push eax
call fcn.00407b10
mov ecx, eax
call fcn.00513180
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004045f0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00402680
push 1
push 0x8b08b4
lea ecx, [ebp - 0x40]
call fcn.004044c0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00728ac0
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.00402aa0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.004045f0
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.00407b10
mov ecx, eax
call fcn.00513180
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xa
jb 0x4219b5
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 0x421a4b
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 0x421a2f
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.00738ed8
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 0x421660
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.006e70bb
mov esp, ebp
pop ebp
ret