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

Disassembly:
push 0xffffffffffffffff
push 0x5044a9
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
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.004023f0
mov byte [esp + 0x84c], 1
call fcn.0040a2e0
lea esi, [esp + 0x18]
call fcn.0040d340
call fcn.0040a2e0
add eax, 0x264
cmp byte [eax + 0x10e], bl
jne 0x42066d
mov eax, dword [eax + 0x108]
lea ebx, [eax + 4]
lea edi, [esp + 0x4e4]
call fcn.004024d0
cmp byte [esp + 0x5f6], 0
lea esi, [esp + 0x4e8]
jne 0x420694
mov esi, dword [esp + 0x5f0]
lea ecx, [esp + 0x3bc]
call fcn.004349d0
lea eax, [esi + 4]
lea edx, [esp + 0x3bc]
mov byte [esp + 0x84c], 3
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.SGPicFaceTipList_temp.ini
lea ecx, [esp + 0x184]
call fcn.00431ac0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x4206ea
mov eax, dword [esp + 0x174]
cmp word [eax + 4], 0x2e
jne 0x420706
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x3bc]
call fcn.00432c10
jmp 0x42071a
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x3c0]
call fcn.004320b0
cmp byte [esp + 0x288], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x16c], edi
jne 0x42074b
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x42074b
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x5f6], 0
lea esi, [esp + 0x4e8]
jne 0x420763
mov esi, dword [esp + 0x5f0]
lea ecx, [esp + 0x5fc]
call fcn.004349d0
lea eax, [esi + 4]
lea edx, [esp + 0x5fc]
mov byte [esp + 0x84c], 5
call fcn.00434c20
push 0
push 0
push 0
push 0
push 0
push str.SGPicFaceTipList.ini
lea ecx, [esp + 0x184]
call fcn.00431ac0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x4207b9
mov eax, dword [esp + 0x174]
cmp word [eax + 4], 0x2e
jne 0x4207d5
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x5fc]
call fcn.00432c10
jmp 0x4207e9
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + 0x600]
call fcn.004320b0
cmp byte [esp + 0x288], 0
mov dword [esp + 0x16c], edi
jne 0x420815
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x420815
push eax
call fcn.004c31b0
add esp, 4
mov byte [esp + 0x84c], 6
cmp byte [esp + 0x4d8], 0
lea eax, [esp + 0x3c8]
jne 0x420835
mov eax, dword [esp + 0x3c4]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420896
shr eax, 4
not al
and al, 1
je 0x420896
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x3c0]
mov dword [esp + 0x28], 0xffffffff
call fcn.00432570
cmp dword [esp + 0x24], 0
jbe 0x42088a
push 0
lea eax, [esp + 0x600]
push eax
mov ecx, edi
push ecx
lea ecx, [esp + 0x3c8]
call fcn.004331b0
lea ecx, [esp + 0x3bc]
call fcn.004326d0
cmp dword [ebp + 0x40], 0
je 0x420ba2
lea ecx, [esp + 0x16c]
call fcn.004349d0
mov ebx, dword [ebp + 0x40]
lea edi, [ebx - 1]
xor esi, esi
test edi, edi
jle 0x4208ee
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + esi*4]
push eax
push 0x516dbc
lea edx, [esp + 0x174]
call fcn.004351e0
push 0x51967c
push 0x51620c
lea edx, [esp + 0x17c]
call fcn.004351e0
inc esi
add esp, 0x10
cmp esi, edi
jl 0x4208b8
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + ebx*4 - 4]
push eax
push 0x516dbc
lea edx, [esp + 0x174]
call fcn.004351e0
xor esi, esi
add esp, 8
mov dword [esp + 0x2c], fcn.004c328d
mov dword [esp + 0x30], fcn.004c53b2
mov dword [esp + 0x34], fcn.004c31b0
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 0x420959
mov ebp, dword [esp + 0x830]
lea ecx, [esp + 0x294]
call fcn.004349d0
add ebp, 4
mov byte [esp + 0x84c], 9
cmp ebp, esi
jne 0x420979
mov ebp, 0x516254
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x420980
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x29c]
mov dword [esp + 0x298], eax
call fcn.004358a0
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x4209bf
mov eax, dword [esp + 0x29c]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.004cab90
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push str.ComponentsPicfacePicFaceDailyStatistics.ini
lea ecx, [esp + 0x60]
call fcn.00431ac0
mov cl, byte [esp + 0x164]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
test cl, cl
jne 0x4209fd
mov edx, eax
cmp word [edx + 4], 0x2e
jne 0x420a59
test cl, cl
je 0x420a0c
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x4c]
lea esi, [eax + 4]
mov eax, dword [esp + 0x298]
cmp eax, ecx
jbe 0x420a4a
cmp byte [esp + 0x3b0], 0
lea edx, [esp + 0x2a0]
jne 0x420a36
mov edx, dword [esp + 0x29c]
sub eax, ecx
lea edx, [edx + eax*2 + 4]
push esi
push edx
call fcn.004c3add
add esp, 8
test eax, eax
je 0x420a6a
push esi
lea eax, [esp + 0x298]
call fcn.00434dd0
jmp 0x420a6a
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x298]
call fcn.004320b0
cmp byte [esp + 0x164], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x48], esi
jne 0x420a92
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x420a92
push eax
call fcn.004c31b0
add esp, 4
mov byte [esp + 0x84c], 0xa
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x420ab2
mov eax, dword [esp + 0x29c]
lea edx, [eax + 4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.00438550
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x420adb
mov eax, dword [esp + 0x174]
add eax, 4
push eax
lea eax, [esp + 0x2c]
call fcn.00438440
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x420b00
mov eax, dword [esp + 0x29c]
add eax, 4
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.00438c20
cmp byte [esp + 0x3b0], 0
mov dword [esp + 0x294], esi
jne 0x420b3d
mov eax, dword [esp + 0x29c]
lea ecx, [esp + 0x2a0]
cmp eax, ecx
je 0x420b3d
push eax
call fcn.004c31b0
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 0x420b6c
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 0x420b55
cmp byte [esp + 0x288], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x16c], esi
jne 0x420ba7
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x420ba7
push eax
call fcn.004c31b0
add esp, 4
jmp 0x420ba7
mov esi, vtable.t_str.0
cmp byte [esp + 0x718], 0
mov dword [esp + 0x5fc], esi
jne 0x420bd3
mov eax, dword [esp + 0x604]
lea edx, [esp + 0x608]
cmp eax, edx
je 0x420bd3
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x4d8], 0
mov dword [esp + 0x3bc], esi
jne 0x420bff
mov eax, dword [esp + 0x3c4]
lea ecx, [esp + 0x3c8]
cmp eax, ecx
je 0x420bff
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x5f6], 0
jne 0x420c24
mov eax, dword [esp + 0x5f0]
lea edx, [esp + 0x4e8]
cmp eax, edx
je 0x420c24
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x836], 0
jne 0x420c49
mov eax, dword [esp + 0x830]
lea ecx, [esp + 0x728]
cmp eax, ecx
je 0x420c49
push eax
call fcn.004c31b0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00433d50
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.004c31a1
add esp, 0x83c
ret 4