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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534048
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 2
push esi
push eax
call fcn.0042a390
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.0042a390
add esp, 0x10
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
test ecx, ecx
jne 0x42af43
movups xmm0, xmmword [ebp - 0x58]
movq xmm1, qword [ebp - 0x48]
movups xmmword [ebp - 0x80], xmm0
movq qword [ebp - 0x2fc], xmm1
jmp 0x42b001
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
cmp edx, 8
cmovae eax, dword [ebp - 0x58]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x42afec
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42b5ed
push 1
push 0x53ed68
cmp edx, 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x2f8]
call fcn.00428fd0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42afd2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42afc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f2
push edx
push ecx
call fcn.00461701
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
movq xmm1, qword [ebp - 0x78]
movq qword [ebp - 0x2fc], xmm1
movups xmmword [ebp - 0x80], xmm0
jmp 0x42b005
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x2fc], xmm0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42b03f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b035
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f2
push edx
push ecx
call fcn.00461701
add esp, 8
movups xmm0, xmmword [ebp - 0x80]
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x2fc]
movq qword [ebp - 0x30], xmm0
cmp edx, 8
jb 0x42b098
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b08e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f2
push edx
push ecx
call fcn.00461701
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b504
test al, 0x10
je 0x42b504
cmp byte [ebp + 0x10], 0
je 0x42b0df
mov eax, dword [edi + 4]
push esi
cmp eax, dword [edi + 8]
je 0x42b0d7
mov ecx, eax
call fcn.004196c0
add dword [edi + 4], 0x18
jmp 0x42b0df
push eax
mov ecx, edi
call fcn.00419390
mov ecx, dword [ebp - 0x30]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 3
jb 0x42b5ed
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 3
cmovae eax, dword [ebp - 0x40]
push 0x540330
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x58]
call fcn.00428fd0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x42b152
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f7
push edx
push ecx
call fcn.00461701
add esp, 8
movups xmm0, xmmword [ebp - 0x58]
xor eax, eax
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
call fcn.00419810
push 0x250
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.004edf00
add esp, 0xc
lea ecx, [ebp - 0x2f0]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x30c], edi
cmp edi, 0xffffffff
je 0x42b504
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x308], eax
nop word [eax + eax]
lea esi, [ebp - 0x2c4]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42b1f0
sub esi, ecx
mov ecx, dword [ebp - 0x14]
sar esi, 1
mov dword [ebp - 0x300], ecx
cmp esi, ecx
ja 0x42b23a
cmp ecx, 8
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea eax, [ebp - 0x2c4]
add esi, esi
push esi
push eax
push edi
call fcn.004ed980
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x28]
jmp 0x42b2ef
cmp esi, 0x7ffffffe
ja 0x42b5ed
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x42b25a
mov edi, SysReAllocString
jmp 0x42b278
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x42b270
mov edi, SysReAllocString
jmp 0x42b278
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00416d20
mov dword [ebp - 0x18], esi
add esi, esi
mov dword [ebp - 0x2f4], eax
lea eax, [ebp - 0x2c4]
push esi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x2f4]
push eax
push edi
call fcn.004ed400
xor eax, eax
add esp, 0xc
mov word [edi + esi], ax
mov eax, dword [ebp - 0x300]
cmp eax, 8
jb 0x42b2ec
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b2e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f7
push edx
push ecx
call fcn.00461701
add esp, 8
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae esi, edi
cmp eax, 1
jne 0x42b329
mov ecx, 0x53fb90
mov edx, eax
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x42b326
add ecx, 2
sub edx, 1
jne 0x42b310
jmp 0x42b4cb
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, edi
cmp eax, 2
jne 0x42b356
mov ecx, 0x53fb94
mov edx, eax
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x42b356
add ecx, 2
sub edx, 1
jne 0x42b341
mov al, 1
jmp 0x42b358
xor al, al
test al, al
jne 0x42b4cb
mov edx, dword [ebp - 0x30]
mov eax, SysReAllocString
mov esi, dword [ebp - 0x18]
sub eax, edx
cmp eax, esi
jb 0x42b5ed
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push esi
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, edi
push eax
push edx
push ecx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x308]
lea ecx, [ebp - 0xa0]
call fcn.00428fd0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42b3dd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b3d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f7
push edx
push ecx
call fcn.00461701
add esp, 8
test byte [ebp - 0x2f0], 0x10
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0x18], xmm0
je 0x42b4cb
mov edi, dword [ebp - 0x304]
lea eax, [ebp - 0x28]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x42b4b3
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x300], eax
cmp ecx, 8
jae 0x42b45e
movups xmm0, xmmword [eax]
mov edi, 7
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov edi, dword [ebp - 0x304]
add dword [edi + 4], 0x18
jmp 0x42b4bc
mov edi, ecx
mov eax, SysReAllocString
or edi, 7
mov ecx, esi
cmp edi, 0x7ffffffe
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00416d20
mov ecx, dword [ebp - 0x2f4]
mov dword [esi], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x300]
push eax
call fcn.004ed400
mov ecx, dword [ebp - 0x2f4]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov edi, dword [ebp - 0x304]
add dword [edi + 4], 0x18
jmp 0x42b4bc
push eax
push esi
mov ecx, edi
call fcn.00419390
push 0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0042ae90
add esp, 0xc
push 0x140
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.004edf00
mov edi, dword [ebp - 0x30c]
lea eax, [ebp - 0x2f0]
add esp, 0xc
push eax
push edi
call dword [ebp - 0x2f8]
test eax, eax
jne 0x42b1e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42b53e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b534
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f7
push edx
push ecx
call fcn.00461701
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x42b588
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b57e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f7
push edx
push ecx
call fcn.00461701
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x42b5d2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b5c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b5f7
push edx
push ecx
call fcn.00461701
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.00404fd0
call fcn.004f6f4a
call fcn.004f6f4a
int3