Function at 0x42e510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2a61
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4e5728]
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 + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 4], 1
mov word [edi], ax
mov dword [ebp - 0x48], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp + 0x10]
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x60], eax
cmp edx, eax
je 0x42e8ab
nop dword [eax]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
push dword [edx]
push ecx
push dword [ebp - 0x5c]
call fcn.0042f140
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
push 4
push str.file
push 0
push dword [ebp - 0x30]
cmovae eax, ecx
mov dword [ebp - 0x44], ecx
push eax
call fcn.0041dab0
add esp, 0x28
cmp eax, 0xffffffff
je 0x42e7ec
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x42e611
mov ecx, dword [esi]
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x28]
cmovae eax, esi
push dword [edx + 0x10]
push ecx
push 0
push dword [ebp - 0x18]
push eax
call fcn.0041dab0
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
je 0x42e7ef
xor eax, eax
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x18], ecx
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x28]
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, esi
mov dword [ebp - 0x68], 7
push eax
lea ecx, [ebp - 0x7c]
call fcn.004083b0
or dword [ebp - 0x48], 2
lea eax, [ebp - 0x7c]
cmp edi, eax
je 0x42e692
mov ecx, edi
call fcn.004045d0
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [edi + 0x10], xmm0
jmp 0x42e6cc
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x42e6cc
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e6c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e8f8
push edx
push ecx
call fcn.004678ef
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x4c], edi
mov ecx, esp
mov edx, edi
mov dword [ebp - 0x50], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x44], eax
jb 0x42e6f8
mov edx, dword [edi]
mov dword [ebp - 0x4c], edx
cmp eax, 8
jae 0x42e70f
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x42e755
mov esi, eax
mov eax, 0x7ffffffe
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00407bf0
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x4c]
push ecx
call fcn.00472400
mov eax, dword [ebp - 0x50]
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
lea eax, [ebp - 0x7c]
push eax
call fcn.0041ddd0
mov esi, eax
add esp, 0x1c
cmp edi, esi
je 0x42e791
mov ecx, edi
call fcn.004045d0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x42e7cb
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e7c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e8f8
push edx
push ecx
call fcn.004678ef
add esp, 8
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42e7d5
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e898
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x28]
jmp 0x42e7f2
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x42e830
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x42e823
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e8f8
push ecx
push esi
call fcn.004678ef
mov ecx, dword [ebp - 0x40]
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x42e87f
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e875
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e8f8
push edx
push ecx
call fcn.004678ef
add esp, 8
mov edx, dword [ebp - 0x54]
add edx, 4
mov dword [ebp - 0x54], edx
cmp edx, dword [ebp - 0x60]
je 0x42e8a8
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
jmp 0x42e5a0
lea ecx, [ebp - 0x28]
call fcn.004045d0
lea ecx, [ebp - 0x40]
call fcn.004045d0
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x42e8db
mov ecx, dword [ebp + 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42e8d1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e8f8
push ecx
push edx
call fcn.004678ef
add esp, 8
mov eax, edi
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.00467bb3
mov esp, ebp
pop ebp
ret
call fcn.00476379
int3