Function at 0x431750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6121
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4e83f4]
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 0x431aeb
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.00432370
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.00420870
add esp, 0x28
cmp eax, 0xffffffff
je 0x431a2c
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x431851
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.00420870
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
je 0x431a2f
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.00403770
or dword [ebp - 0x48], 2
lea eax, [ebp - 0x7c]
cmp edi, eax
je 0x4318d2
mov ecx, edi
call fcn.00403110
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [edi + 0x10], xmm0
jmp 0x43190c
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x43190c
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431902
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431b38
push edx
push ecx
call fcn.004395b0
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 0x431938
mov edx, dword [edi]
mov dword [ebp - 0x4c], edx
cmp eax, 8
jae 0x43194f
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x431995
mov esi, eax
mov eax, 0x7ffffffe
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403570
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.0046bca0
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.00420b90
mov esi, eax
add esp, 0x1c
cmp edi, esi
je 0x4319d1
mov ecx, edi
call fcn.00403110
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 0x431a0b
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431a01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431b38
push edx
push ecx
call fcn.004395b0
add esp, 8
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x431a15
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431ad8
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x28]
jmp 0x431a32
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x431a70
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x431a63
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431b38
push ecx
push esi
call fcn.004395b0
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 0x431abf
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431ab5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431b38
push edx
push ecx
call fcn.004395b0
add esp, 8
mov edx, dword [ebp - 0x54]
add edx, 4
mov dword [ebp - 0x54], edx
cmp edx, dword [ebp - 0x60]
je 0x431ae8
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x64]
jmp 0x4317e0
lea ecx, [ebp - 0x28]
call fcn.00403110
lea ecx, [ebp - 0x40]
call fcn.00403110
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x431b1b
mov ecx, dword [ebp + 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x431b11
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431b38
push ecx
push edx
call fcn.004395b0
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.004395be
mov esp, ebp
pop ebp
ret
call fcn.0046fe99
int3