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

Disassembly:
push 0xffffffffffffffff
push 0x50e97e
mov eax, dword fs:[0]
push eax
sub esp, 0x718
mov eax, dword [0x5405a0]
xor eax, esp
mov dword [esp + 0x710], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5405a0]
xor eax, esp
push eax
lea eax, [esp + 0x72c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x73c]
xor eax, eax
mov byte [esp + 0x1c], 0
mov dword [esp + 0x18], eax
lea edi, [esp + 0x3bc]
mov dword [esp + 0x734], eax
call fcn.004023c0
mov byte [esp + 0x734], 1
call fcn.00409da0
lea esi, [esp + 0x18]
call fcn.0040f2f0
cmp byte [esp + 0x4ce], 0
lea edi, [esp + 0x3c0]
jne 0x4249de
mov edi, dword [esp + 0x4c8]
mov esi, dword [str.ComponentsPicfaceTipListIniSGPicFaceTipList2.ini]
lea ecx, [esp + 0x4d4]
call fcn.0043a090
lea eax, [edi + 4]
lea edx, [esp + 0x4d4]
mov byte [esp + 0x734], 2
call fcn.0043a2e0
mov ebx, 0x2e
test esi, esi
je 0x424aa2
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x184]
call fcn.00436ef0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x424a43
mov eax, dword [esp + 0x174]
cmp word [eax + 4], bx
jne 0x424a5e
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x4d4]
call fcn.00438040
jmp 0x424a72
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x4d8]
call fcn.004374e0
cmp byte [esp + 0x288], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x424aa2
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x424aa2
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x4ce], 0
lea edi, [esp + 0x3c0]
jne 0x424aba
mov edi, dword [esp + 0x4c8]
mov esi, dword [str.ComponentsPicfaceTipListIniSGPicFaceTipList.ini]
lea ecx, [esp + 0x5fc]
call fcn.0043a090
lea eax, [edi + 4]
lea edx, [esp + 0x5fc]
mov byte [esp + 0x734], 4
call fcn.0043a2e0
test esi, esi
je 0x424b79
push 0
push 0
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x184]
call fcn.00436ef0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x424b1a
mov eax, dword [esp + 0x174]
cmp word [eax + 4], bx
jne 0x424b35
lea ecx, [esp + 0x16c]
lea esi, [esp + 0x5fc]
call fcn.00438040
jmp 0x424b49
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + 0x600]
call fcn.004374e0
cmp byte [esp + 0x288], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x424b79
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x424b79
push eax
call fcn.004ccef0
add esp, 4
mov byte [esp + 0x734], 5
cmp byte [esp + 0x5f0], 0
lea eax, [esp + 0x4e0]
jne 0x424b99
mov eax, dword [esp + 0x4dc]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x424bfa
shr eax, 4
not al
and al, 1
je 0x424bfa
lea edx, [esp + 0x24]
push edx
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x4d8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004379a0
cmp dword [esp + 0x24], 0
jbe 0x424bee
push 0
lea eax, [esp + 0x600]
push eax
mov ecx, edi
push ecx
lea ecx, [esp + 0x4e0]
call fcn.004385e0
lea ecx, [esp + 0x4d4]
call fcn.00437b00
cmp dword [ebp + 0x40], 0
je 0x424f0d
lea ecx, [esp + 0x16c]
call fcn.0043a090
mov ebx, dword [ebp + 0x40]
lea edi, [ebx - 1]
xor esi, esi
test edi, edi
jle 0x424c56
lea esp, [esp]
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx + esi*4]
push eax
push 0x5221b8
lea edx, [esp + 0x174]
call fcn.0043a8a0
push 0x524b88
push 0x52139c
lea edx, [esp + 0x17c]
call fcn.0043a8a0
inc esi
add esp, 0x10
cmp esi, edi
jl 0x424c20
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax + ebx*4 - 4]
push eax
push 0x5221b8
lea edx, [esp + 0x174]
call fcn.0043a8a0
xor esi, esi
add esp, 8
mov dword [esp + 0x2c], fcn.004ccfcd
mov dword [esp + 0x30], fcn.004cf168
mov dword [esp + 0x34], fcn.004ccef0
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 + 0x4ce], 0
lea ebp, [esp + 0x3c0]
jne 0x424cc1
mov ebp, dword [esp + 0x4c8]
lea ecx, [esp + 0x294]
call fcn.0043a090
add ebp, 4
mov byte [esp + 0x734], 8
cmp ebp, esi
jne 0x424ce1
mov ebp, 0x5213e4
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x424ce6
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x29c]
mov dword [esp + 0x298], eax
call fcn.0043ae00
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x424d25
mov eax, dword [esp + 0x29c]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.004d4040
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push str.ComponentsPicfacePicFaceDailyStatistics.ini
lea ecx, [esp + 0x60]
call fcn.00436ef0
mov cl, byte [esp + 0x164]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
test cl, cl
jne 0x424d63
mov edx, eax
cmp word [edx + 4], 0x2e
jne 0x424dbf
test cl, cl
je 0x424d72
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x4c]
lea esi, [eax + 4]
mov eax, dword [esp + 0x298]
cmp eax, ecx
jbe 0x424db0
cmp byte [esp + 0x3b0], 0
lea edx, [esp + 0x2a0]
jne 0x424d9c
mov edx, dword [esp + 0x29c]
sub eax, ecx
lea edx, [edx + eax*2 + 4]
push esi
push edx
call fcn.004cd81d
add esp, 8
test eax, eax
je 0x424dd0
push esi
lea eax, [esp + 0x298]
call fcn.0043a490
jmp 0x424dd0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x298]
call fcn.004374e0
cmp byte [esp + 0x164], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x48], esi
jne 0x424df8
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x424df8
push eax
call fcn.004ccef0
add esp, 4
mov byte [esp + 0x734], 9
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x424e18
mov eax, dword [esp + 0x29c]
lea edx, [eax + 4]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0043ddf0
cmp byte [esp + 0x288], 0
lea eax, [esp + 0x178]
jne 0x424e41
mov eax, dword [esp + 0x174]
add eax, 4
push eax
push 0x524f24
lea eax, [esp + 0x30]
call fcn.0043dce0
cmp byte [esp + 0x3b0], 0
lea eax, [esp + 0x2a0]
jne 0x424e6b
mov eax, dword [esp + 0x29c]
add eax, 4
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
call fcn.0043e4d0
cmp byte [esp + 0x3b0], 0
mov dword [esp + 0x294], esi
jne 0x424ea8
mov eax, dword [esp + 0x29c]
lea ecx, [esp + 0x2a0]
cmp eax, ecx
je 0x424ea8
push eax
call fcn.004ccef0
add esp, 4
mov byte [esp + 0x734], 6
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test eax, eax
je 0x424ed7
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 0x424ec0
cmp byte [esp + 0x288], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x16c], esi
jne 0x424f12
mov eax, dword [esp + 0x174]
lea ecx, [esp + 0x178]
cmp eax, ecx
je 0x424f12
push eax
call fcn.004ccef0
add esp, 4
jmp 0x424f12
mov esi, vtable.t_str.0
cmp byte [esp + 0x718], 0
mov dword [esp + 0x5fc], esi
jne 0x424f3e
mov eax, dword [esp + 0x604]
lea edx, [esp + 0x608]
cmp eax, edx
je 0x424f3e
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x5f0], 0
mov dword [esp + 0x4d4], esi
jne 0x424f6a
mov eax, dword [esp + 0x4dc]
lea ecx, [esp + 0x4e0]
cmp eax, ecx
je 0x424f6a
push eax
call fcn.004ccef0
add esp, 4
cmp byte [esp + 0x4ce], 0
jne 0x424f8f
mov eax, dword [esp + 0x4c8]
lea edx, [esp + 0x3c0]
cmp eax, edx
je 0x424f8f
push eax
call fcn.004ccef0
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x734], 0xffffffff
call fcn.004393f0
mov ecx, dword [esp + 0x72c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x710]
xor ecx, esp
call fcn.004ccee1
add esp, 0x724
ret 4