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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5333cc
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x57b270]
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.004296b0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.004296b0
add esp, 0x10
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
test ecx, ecx
jne 0x42a263
movups xmm0, xmmword [ebp - 0x58]
movq xmm1, qword [ebp - 0x48]
movups xmmword [ebp - 0x80], xmm0
movq qword [ebp - 0x2fc], xmm1
jmp 0x42a321
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 0x42a30c
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42a90d
push 1
push 0x53ed58
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.004281a0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42a2f2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a2e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a912
push edx
push ecx
call fcn.00460b61
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
movq xmm1, qword [ebp - 0x78]
movq qword [ebp - 0x2fc], xmm1
movups xmmword [ebp - 0x80], xmm0
jmp 0x42a325
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 0x42a35f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a355
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a912
push edx
push ecx
call fcn.00460b61
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 0x42a3b8
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a3ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a912
push edx
push ecx
call fcn.00460b61
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 0x42a824
test al, 0x10
je 0x42a824
cmp byte [ebp + 0x10], 0
je 0x42a3ff
mov eax, dword [edi + 4]
push esi
cmp eax, dword [edi + 8]
je 0x42a3f7
mov ecx, eax
call fcn.004196c0
add dword [edi + 4], 0x18
jmp 0x42a3ff
push eax
mov ecx, edi
call fcn.00419390
mov ecx, dword [ebp - 0x30]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 3
jb 0x42a90d
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 3
cmovae eax, dword [ebp - 0x40]
push 0x540118
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x58]
call fcn.004281a0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x42a472
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a917
push edx
push ecx
call fcn.00460b61
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.004ed350
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 0x42a824
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 0x42a510
sub esi, ecx
mov ecx, dword [ebp - 0x14]
sar esi, 1
mov dword [ebp - 0x300], ecx
cmp esi, ecx
ja 0x42a55a
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.004ecdd0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x28]
jmp 0x42a60f
cmp esi, 0x7ffffffe
ja 0x42a90d
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x42a57a
mov edi, SysReAllocString
jmp 0x42a598
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x42a590
mov edi, SysReAllocString
jmp 0x42a598
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.004ec850
xor eax, eax
add esp, 0xc
mov word [edi + esi], ax
mov eax, dword [ebp - 0x300]
cmp eax, 8
jb 0x42a60c
mov ecx, dword [ebp - 0x28]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a602
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a917
push edx
push ecx
call fcn.00460b61
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 0x42a649
mov ecx, 0x53fa60
mov edx, eax
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x42a646
add ecx, 2
sub edx, 1
jne 0x42a630
jmp 0x42a7eb
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, edi
cmp eax, 2
jne 0x42a676
mov ecx, 0x53fa64
mov edx, eax
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x42a676
add ecx, 2
sub edx, 1
jne 0x42a661
mov al, 1
jmp 0x42a678
xor al, al
test al, al
jne 0x42a7eb
mov edx, dword [ebp - 0x30]
mov eax, SysReAllocString
mov esi, dword [ebp - 0x18]
sub eax, edx
cmp eax, esi
jb 0x42a90d
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.004281a0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42a6fd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a6f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a917
push edx
push ecx
call fcn.00460b61
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 0x42a7eb
mov edi, dword [ebp - 0x304]
lea eax, [ebp - 0x28]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x42a7d3
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 0x42a77e
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 0x42a7dc
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.004ec850
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 0x42a7dc
push eax
push esi
mov ecx, edi
call fcn.00419390
push 0
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0042a1b0
add esp, 0xc
push pe_nt_image_headers32
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.004ed350
mov edi, dword [ebp - 0x30c]
lea eax, [ebp - 0x2f0]
add esp, 0xc
push eax
push edi
call dword [ebp - 0x2f8]
test eax, eax
jne 0x42a500
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42a85e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a917
push edx
push ecx
call fcn.00460b61
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 0x42a8a8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a89e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a917
push edx
push ecx
call fcn.00460b61
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 0x42a8f2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a8e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a917
push edx
push ecx
call fcn.00460b61
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.00460b6f
mov esp, ebp
pop ebp
ret
call fcn.00404fd0
call fcn.004f639a
call fcn.004f639a
int3