Function at 0x402c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4703dc
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0044b130
lea eax, [esi + 0x38]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x402c9f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x220]
push 0x105
push eax
call fcn.0044f0a8
add esp, 0xc
lea eax, [ebp - 0x220]
push str.XXTalnc.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402efc
push 0xb
xor eax, eax
mov dword [ebp - 0x258], 0
push str.XXPicUpdate
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
call fcn.00407ef0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x250], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402d37
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00407ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push 5
xor eax, eax
mov dword [ebp - 0x228], 0
push str._auto
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00407ef0
mov byte [ebp - 4], 2
xor eax, eax
push dword [esi + 0x18]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x26c], esp
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.XXPic
mov word [ecx], ax
call fcn.00407ef0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
xor eax, eax
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x487f60
mov word [ecx], ax
call fcn.00407ef0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00438d40
mov edx, dword [ebp - 0x224]
add esp, 0x40
cmp edx, 8
jb 0x402e46
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f16
push edx
push ecx
call fcn.00444954
add esp, 8
mov edx, dword [ebp - 0x23c]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp edx, 8
jb 0x402ea3
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f1b
push edx
push ecx
call fcn.00444954
add esp, 8
mov edx, dword [ebp - 0x254]
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp edx, 8
jb 0x402efc
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f20
push edx
push ecx
call fcn.00444954
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444204
mov esp, ebp
pop ebp
ret
call fcn.004538a3
call fcn.004538a3
call fcn.004538a3
int3