Function at 0x5254c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x55dcfb
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x67d978]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67d978]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a0]
mov ecx, dword [esp + 0x2ac]
mov edx, dword [esp + 0x2b4]
mov ebx, dword [esp + 0x2a4]
mov ebp, dword [esp + 0x2b0]
xor esi, esi
push 0xffffffffffffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2ac]
push esi
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
call fcn.00413799
mov eax, dword [esp + 0x34]
cmp eax, esi
mov dword [esp + 0x298], esi
je 0x5255d5
lea edi, [eax - 1]
cmp edi, eax
jbe 0x525570
call fcn.00536646
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x38], 8
mov ecx, dword [esp + 0x24]
jae 0x52557f
lea ecx, [esp + 0x24]
cmp word [ecx + edi*2], 0x5c
je 0x5255ce
lea edi, [eax - 1]
cmp edi, eax
jbe 0x525596
call fcn.00536646
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x38], 8
mov ecx, dword [esp + 0x24]
jae 0x5255a5
lea ecx, [esp + 0x24]
cmp word [ecx + edi*2], 0x2f
je 0x5255ce
lea edi, [eax - 1]
cmp edi, eax
jbe 0x5255b8
call fcn.00536646
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x5255c7
lea eax, [esp + 0x24]
cmp word [eax + edi*2], 0x3a
jne 0x5255d5
mov edx, 0x6230cc
jmp 0x5255da
mov edx, 0x62cab4
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x5255e0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.004114c9
mov eax, dword [esp + 0x24]
mov edi, 8
cmp dword [esp + 0x38], edi
jae 0x52560d
lea eax, [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [0x689440]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x525663
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], esi
call edi
cmp eax, 2
je 0x52563a
call edi
cmp eax, 0x12
je 0x52563a
call edi
mov esi, eax
call fcn.00524420
cmp dword [esp + 0x38], 8
mov edi, dword [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 4], eax
jb 0x52565c
mov edx, dword [esp + 0x24]
push edx
call fcn.00535941
add esp, 4
mov eax, edi
jmp 0x5256ef
lea eax, [esp + 0x68]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x525670
mov ecx, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00413725
mov eax, dword [esp + 0x3c]
test eax, 0x400
je 0x5256a4
mov ecx, dword [esp + 0x14]
mov dword [ebp], esi
mov dword [ecx], esi
jmp 0x5256cc
test al, 0x10
je 0x5256bb
mov edx, dword [esp + 0x14]
mov dword [ebp], 3
mov dword [edx], 3
jmp 0x5256cc
mov eax, dword [esp + 0x14]
mov dword [ebp], 2
mov dword [eax], 2
mov ebx, dword [esp + 0x18]
mov dword [ebx], esi
call fcn.00524420
cmp dword [esp + 0x38], edi
mov dword [ebx + 4], eax
jb 0x5256ed
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00535941
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00536476
add esp, 0x288
ret