Function at 0x427040
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x506f79
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x854]
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x724]
mov dword [esp + 0x84c], ebx
call fcn.004023d0
mov byte [esp + 0x84c], 1
call fcn.0040a280
lea esi, [esp + 0x18]
call fcn.0040f500
call fcn.0040a280
add eax, 0x268
cmp byte [eax + 0x10e], bl
jne 0x4270cd
mov eax, dword [eax + 0x108]
lea ebx, [eax + 4]
lea edi, [esp + 0x4e4]
call fcn.004024b0
cmp byte [esp + 0x5f6], 0
lea esi, [esp + 0x4e8]
jne 0x4270f4
mov esi, dword [esp + 0x5f0]
lea ecx, [esp + 0x3bc]
call fcn.00438ae0
lea eax, [esi + 4]
lea edx, [esp + 0x3bc]
mov byte [esp + 0x84c], 3
call fcn.00438d30
push 0
push 0
push 0
push 0
push 0
push str.SGPicFaceTipList_temp.ini
lea ecx, [esp + 0x184]
call fcn.00435960
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x42714a
mov eax, dword [esp + 0x174]
cmp word [eax + 4], 0x2e
jne 0x427166
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x3bc]
call fcn.00436ab0
jmp 0x42717a
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x3c0]
call fcn.00435f50
cmp byte [esp + 0x288], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x16c], edi
jne 0x4271ab
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x4271ab
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x5f6], 0
lea esi, [esp + 0x4e8]
jne 0x4271c3
mov esi, dword [esp + 0x5f0]
lea ecx, [esp + 0x5fc]
call fcn.00438ae0
lea eax, [esi + 4]
lea edx, [esp + 0x5fc]
mov byte [esp + 0x84c], 5
call fcn.00438d30
push 0
push 0
push 0
push 0
push 0
push str.SGPicFaceTipList.ini
lea ecx, [esp + 0x184]
call fcn.00435960
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x427219
mov eax, dword [esp + 0x174]
cmp word [eax + 4], 0x2e
jne 0x427235
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x5fc]
call fcn.00436ab0
jmp 0x427249
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + 0x600]
call fcn.00435f50
cmp byte [esp + 0x288], 0
mov dword [esp + 0x16c], edi
jne 0x427275
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x427275
push eax
call fcn.004c6103
add esp, 4
mov byte [esp + 0x84c], 6
cmp byte [esp + 0x4d8], 0
lea eax, [esp + 0x3c8]
jne 0x427295
mov eax, dword [esp + 0x3c4]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4272f6
shr eax, 4
not al
and al, 1
je 0x4272f6
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x3c0]
mov dword [esp + 0x28], 0xffffffff
call fcn.00436410
cmp dword [esp + 0x24], 0
jbe 0x4272ea
push 0
lea eax, [esp + 0x600]
push eax
mov ecx, edi
push ecx
lea ecx, [esp + 0x3c8]
call fcn.00437050
lea ecx, [esp + 0x3bc]
call fcn.00436570
cmp dword [ebp + 0x40], 0
je 0x42760d
lea ecx, [esp + 0x16c]
call fcn.00438ae0
mov ebx, dword [ebp + 0x40]
lea edi, [ebx - 1]
xor esi, esi
test edi, edi
jle 0x42734e
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + esi*4]
push eax
push 0x51a034
lea edx, [esp + 0x174]
call fcn.004392f0
push 0x51cde8
push 0x5192f4
lea edx, [esp + 0x17c]
call fcn.004392f0
inc esi
add esp, 0x10
cmp esi, edi
jl 0x427318
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + ebx*4 - 4]
push eax
push 0x51a034
lea edx, [esp + 0x174]
call fcn.004392f0
xor esi, esi
add esp, 8
mov dword [esp + 0x2c], fcn.004c61e0
mov dword [esp + 0x30], fcn.004c83aa
mov dword [esp + 0x34], fcn.004c6103
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x8000
mov dword [esp + 0x28], vtable.t_heap.0
mov dword [esp + 0x40], esi
mov byte [esp + 0x44], 0
cmp byte [esp + 0x836], 0
lea ebp, [esp + 0x728]
jne 0x4273b9
mov ebp, dword [esp + 0x830]
lea ecx, [esp + 0x294]
call fcn.00438ae0
add ebp, 4
mov byte [esp + 0x84c], 9
cmp ebp, esi
jne 0x4273d9
mov ebp, 0x51933c
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4273e0
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x29c]
mov dword [esp + 0x298], eax
call fcn.00439970
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x42741f
mov eax, dword [esp + 0x29c]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.004cd2d0
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push str.ComponentsPicfacePicFaceDailyStatistics.ini
lea ecx, [esp + 0x60]
call fcn.00435960
mov cl, byte [esp + 0x164]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
test cl, cl
jne 0x42745d
mov edx, eax
cmp word [edx + 4], 0x2e
jne 0x4274b9
test cl, cl
je 0x42746c
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x4c]
lea esi, [eax + 4]
mov eax, dword [esp + 0x298]
cmp eax, ecx
jbe 0x4274aa
cmp byte [esp + 0x3b0], 0
lea edx, [esp + 0x2a0]
jne 0x427496
mov edx, dword [esp + 0x29c]
sub eax, ecx
lea edx, [edx + eax*2 + 4]
push esi
push edx
call fcn.004c6a30
add esp, 8
test eax, eax
je 0x4274ca
push esi
lea eax, [esp + 0x298]
call fcn.00438ee0
jmp 0x4274ca
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x298]
call fcn.00435f50
cmp byte [esp + 0x164], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x48], esi
jne 0x4274f2
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x4274f2
push eax
call fcn.004c6103
add esp, 4
mov byte [esp + 0x84c], 0xa
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x427512
mov eax, dword [esp + 0x29c]
lea edx, [eax + 4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0043f8d0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x42753b
mov eax, dword [esp + 0x174]
add eax, 4
push eax
push 0x51d190
lea eax, [esp + 0x30]
call fcn.0043f7c0
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x427565
mov eax, dword [esp + 0x29c]
add eax, 4
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.0043ffa0
cmp byte [esp + 0x3b0], 0
mov dword [esp + 0x294], esi
jne 0x4275a2
mov eax, dword [esp + 0x29c]
lea ecx, [esp + 0x2a0]
cmp eax, ecx
je 0x4275a2
push eax
call fcn.004c6103
add esp, 4
mov byte [esp + 0x84c], 7
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test eax, eax
je 0x4275d7
lea ebx, [ebx]
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x3c], edx
call dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 4
test eax, eax
jne 0x4275c0
cmp byte [esp + 0x288], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x16c], esi
jne 0x427612
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x427612
push eax
call fcn.004c6103
add esp, 4
jmp 0x427612
mov esi, vtable.t_str.0
cmp byte [esp + 0x718], 0
mov dword [esp + 0x5fc], esi
jne 0x42763e
mov eax, dword [esp + 0x604]
lea edx, [esp + 0x608]
cmp eax, edx
je 0x42763e
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x4d8], 0
mov dword [esp + 0x3bc], esi
jne 0x42766a
mov eax, dword [esp + 0x3c4]
lea ecx, [esp + 0x3c8]
cmp eax, ecx
je 0x42766a
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x5f6], 0
jne 0x42768f
mov eax, dword [esp + 0x5f0]
lea edx, [esp + 0x4e8]
cmp eax, edx
je 0x42768f
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x836], 0
jne 0x4276b4
mov eax, dword [esp + 0x830]
lea ecx, [esp + 0x728]
cmp eax, ecx
je 0x4276b4
push eax
call fcn.004c6103
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00437e60
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.004c60f4
add esp, 0x83c
ret 4