Function at 0x4ab680
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x55ce56
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5b4a28]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b4a28]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2c8]
mov eax, dword [esp + 0x2bc]
mov edx, dword [esp + 0x2d0]
mov edi, dword [esp + 0x2c0]
mov ebp, dword [esp + 0x2cc]
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c8]
push ebx
mov word [esp + 0x28], cx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
call fcn.0041bb97
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2b4], ebx
cmp eax, ebx
je 0x4ab768
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, ecx
cmp esi, 8
jae 0x4ab735
lea edx, [esp + 0x20]
cmp word [edx + eax*2 - 2], 0x5c
je 0x4ab761
mov edx, ecx
cmp esi, 8
jae 0x4ab748
lea edx, [esp + 0x20]
cmp word [edx + eax*2 - 2], 0x2f
je 0x4ab761
cmp esi, 8
jae 0x4ab759
lea ecx, [esp + 0x20]
cmp word [ecx + eax*2 - 2], 0x3a
jne 0x4ab768
mov edx, 0x57a9d0
jmp 0x4ab76d
mov edx, 0x57a9c8
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4ab772
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.0041cabe
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x4ab79f
lea eax, [esp + 0x20]
lea edx, [esp + 0x58]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x4ab7f8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], ebx
call esi
cmp eax, 2
je 0x4ab7e1
call esi
cmp eax, 0x12
je 0x4ab7e1
call esi
mov esi, eax
call fcn.004b1d20
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x34], 8
mov dword [edi], esi
jmp 0x4ab8f2
xor esi, esi
call fcn.004b1d20
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x34], 8
mov dword [edi], esi
jmp 0x4ab8f2
lea eax, [esp + 0x84]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4ab802
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0042b228
mov eax, dword [esp + 0x58]
test eax, 0x400
je 0x4ab83c
mov edx, dword [esp + 0x14]
mov dword [ebp], ebx
mov dword [edx], ebx
jmp 0x4ab8e3
test al, 0x10
je 0x4ab853
mov eax, dword [esp + 0x14]
mov dword [ebp], 3
mov dword [eax], 3
jmp 0x4ab864
mov ecx, dword [esp + 0x14]
mov dword [ebp], 2
mov dword [ecx], 2
xor edx, edx
lea eax, [esp + 0x84]
mov word [esp + 0x3c], dx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4ab881
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x44]
call fcn.0042b228
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x2bc], 1
call fcn.004a8b00
add esp, 8
mov dword [ebp + 4], eax
mov byte [esp + 0x2b4], bl
cmp dword [esp + 0x50], esi
jb 0x4ab8d9
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b3245
add esp, 4
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov edi, dword [esp + 0x18]
mov dword [edi], ebx
call fcn.004b1d20
cmp dword [esp + 0x34], esi
mov dword [edi + 4], eax
jb 0x4ab904
mov eax, dword [esp + 0x20]
push eax
call fcn.004b3245
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.004b303a
add esp, 0x2a4
ret