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

Disassembly:
push 0xffffffffffffffff
push 0x50d289
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
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.0040a6b0
lea esi, [esp + 0x18]
call fcn.0040f8d0
call fcn.0040a6b0
add eax, 0x268
cmp byte [eax + 0x10e], bl
jne 0x4273ad
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 0x4273d4
mov esi, dword [esp + 0x5f0]
lea ecx, [esp + 0x3bc]
call fcn.00438f20
lea eax, [esi + 4]
lea edx, [esp + 0x3bc]
mov byte [esp + 0x84c], 3
call fcn.00439130
push 0
push 0
push 0
push 0
push 0
push str.SGPicFaceTipList_temp.ini
lea ecx, [esp + 0x184]
call fcn.00435dc0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x42742a
mov eax, dword [esp + 0x174]
cmp word [eax + 4], 0x2e
jne 0x427446
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x3bc]
call fcn.00436ef0
jmp 0x42745a
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x3c0]
call fcn.00436390
cmp byte [esp + 0x288], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x16c], edi
jne 0x42748b
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x42748b
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x5f6], 0
lea esi, [esp + 0x4e8]
jne 0x4274a3
mov esi, dword [esp + 0x5f0]
lea ecx, [esp + 0x5fc]
call fcn.00438f20
lea eax, [esi + 4]
lea edx, [esp + 0x5fc]
mov byte [esp + 0x84c], 5
call fcn.00439130
push 0
push 0
push 0
push 0
push 0
push str.SGPicFaceTipList.ini
lea ecx, [esp + 0x184]
call fcn.00435dc0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x4274f9
mov eax, dword [esp + 0x174]
cmp word [eax + 4], 0x2e
jne 0x427515
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x5fc]
call fcn.00436ef0
jmp 0x427529
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + 0x600]
call fcn.00436390
cmp byte [esp + 0x288], 0
mov dword [esp + 0x16c], edi
jne 0x427555
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x427555
push eax
call fcn.004cc2c0
add esp, 4
mov byte [esp + 0x84c], 6
cmp byte [esp + 0x4d8], 0
lea eax, [esp + 0x3c8]
jne 0x427575
mov eax, dword [esp + 0x3c4]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4275d6
shr eax, 4
not al
and al, 1
je 0x4275d6
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x3c0]
mov dword [esp + 0x28], 0xffffffff
call fcn.00436850
cmp dword [esp + 0x24], 0
jbe 0x4275ca
push 0
lea eax, [esp + 0x600]
push eax
mov ecx, edi
push ecx
lea ecx, [esp + 0x3c8]
call fcn.00437490
lea ecx, [esp + 0x3bc]
call fcn.004369b0
cmp dword [ebp + 0x40], 0
je 0x4278ed
lea ecx, [esp + 0x16c]
call fcn.00438f20
mov ebx, dword [ebp + 0x40]
lea edi, [ebx - 1]
xor esi, esi
test edi, edi
jle 0x42762e
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + esi*4]
push eax
push 0x51ff34
lea edx, [esp + 0x174]
call fcn.00439710
push 0x522c18
push 0x51f1f4
lea edx, [esp + 0x17c]
call fcn.00439710
inc esi
add esp, 0x10
cmp esi, edi
jl 0x4275f8
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + ebx*4 - 4]
push eax
push 0x51ff34
lea edx, [esp + 0x174]
call fcn.00439710
xor esi, esi
add esp, 8
mov dword [esp + 0x2c], fcn.004cc39d
mov dword [esp + 0x30], fcn.004ce4c2
mov dword [esp + 0x34], fcn.004cc2c0
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 0x427699
mov ebp, dword [esp + 0x830]
lea ecx, [esp + 0x294]
call fcn.00438f20
add ebp, 4
mov byte [esp + 0x84c], 9
cmp ebp, esi
jne 0x4276b9
mov ebp, 0x51f23c
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4276c0
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x29c]
mov dword [esp + 0x298], eax
call fcn.00439d90
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x4276ff
mov eax, dword [esp + 0x29c]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.004d33e0
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push str.ComponentsPicfacePicFaceDailyStatistics.ini
lea ecx, [esp + 0x60]
call fcn.00435dc0
mov cl, byte [esp + 0x164]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
test cl, cl
jne 0x42773d
mov edx, eax
cmp word [edx + 4], 0x2e
jne 0x427799
test cl, cl
je 0x42774c
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x4c]
lea esi, [eax + 4]
mov eax, dword [esp + 0x298]
cmp eax, ecx
jbe 0x42778a
cmp byte [esp + 0x3b0], 0
lea edx, [esp + 0x2a0]
jne 0x427776
mov edx, dword [esp + 0x29c]
sub eax, ecx
lea edx, [edx + eax*2 + 4]
push esi
push edx
call fcn.004ccbed
add esp, 8
test eax, eax
je 0x4277aa
push esi
lea eax, [esp + 0x298]
call fcn.004392e0
jmp 0x4277aa
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x298]
call fcn.00436390
cmp byte [esp + 0x164], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x48], esi
jne 0x4277d2
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x4277d2
push eax
call fcn.004cc2c0
add esp, 4
mov byte [esp + 0x84c], 0xa
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x4277f2
mov eax, dword [esp + 0x29c]
lea edx, [eax + 4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0043fbe0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x42781b
mov eax, dword [esp + 0x174]
add eax, 4
push eax
push 0x522ff0
lea eax, [esp + 0x30]
call fcn.0043fad0
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x427845
mov eax, dword [esp + 0x29c]
add eax, 4
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.004402b0
cmp byte [esp + 0x3b0], 0
mov dword [esp + 0x294], esi
jne 0x427882
mov eax, dword [esp + 0x29c]
lea ecx, [esp + 0x2a0]
cmp eax, ecx
je 0x427882
push eax
call fcn.004cc2c0
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 0x4278b7
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 0x4278a0
cmp byte [esp + 0x288], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x16c], esi
jne 0x4278f2
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x4278f2
push eax
call fcn.004cc2c0
add esp, 4
jmp 0x4278f2
mov esi, vtable.t_str.0
cmp byte [esp + 0x718], 0
mov dword [esp + 0x5fc], esi
jne 0x42791e
mov eax, dword [esp + 0x604]
lea edx, [esp + 0x608]
cmp eax, edx
je 0x42791e
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x4d8], 0
mov dword [esp + 0x3bc], esi
jne 0x42794a
mov eax, dword [esp + 0x3c4]
lea ecx, [esp + 0x3c8]
cmp eax, ecx
je 0x42794a
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x5f6], 0
jne 0x42796f
mov eax, dword [esp + 0x5f0]
lea edx, [esp + 0x4e8]
cmp eax, edx
je 0x42796f
push eax
call fcn.004cc2c0
add esp, 4
cmp byte [esp + 0x836], 0
jne 0x427994
mov eax, dword [esp + 0x830]
lea ecx, [esp + 0x728]
cmp eax, ecx
je 0x427994
push eax
call fcn.004cc2c0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004382a0
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.004cc2b1
add esp, 0x83c
ret 4