Function at 0x4651b0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c1f9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4651fd
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4656fc
push ecx
push 0x5e1fa4
mov ecx, esi
call fcn.004531d0
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
je 0x4656fc
push ecx
push 0x5e15c0
mov ecx, esi
call fcn.004531d0
mov edi, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
push eax
push 0x5e1cac
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
call fcn.0044b750
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5e1cac
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.0044b750
mov byte [ebp - 4], 1
cmp edi, 0xffffffff
je 0x465345
cmp edi, dword [ebp - 0x4c]
jl 0x465345
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00453170
push eax
lea ecx, [ebp - 0x2c]
call fcn.004499a0
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x4652ec
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4652e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46571a
push edx
push ecx
call fcn.00537216
add esp, 8
push edi
push 0
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00453170
push eax
lea ecx, [ebp - 0x44]
call fcn.004499a0
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x465362
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465339
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46571f
push edx
push ecx
call fcn.00537216
add esp, 8
jmp 0x465362
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x465362
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x465356
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.0044b750
xor eax, eax
inc eax
lea ecx, [ebp - 0xe0]
mov edx, eax
mov dword [ebp - 0x70], eax
call fcn.0044e380
mov edi, eax
push 0x5e1cb4
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.004548f0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [edx + 0x10]
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edx + 0x14]
sub ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
cmp eax, ecx
jbe 0x4653d2
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
cmp eax, ecx
jb 0x4653cf
cmp dword [edx + 0x14], 8
jb 0x4653c2
mov edx, dword [edx]
push ecx
push edx
push 0
mov ecx, edi
call fcn.00454ec0
jmp 0x4653e3
mov eax, dword [ebp - 0x4c]
cmp dword [edi + 0x14], 8
jb 0x4653da
mov edi, dword [edi]
push eax
push edi
mov ecx, edx
call fcn.00453360
mov dword [ebp - 0x5c], 0
xor ecx, ecx
mov dword [ebp - 0x58], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x5c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x5e1cb0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.00453360
mov dword [ebp - 0x90], 0
xor ecx, ecx
mov dword [ebp - 0x8c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00453360
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x88]
movq qword [ebp - 0x50], xmm0
movq qword [ebp - 0x78], xmm0
cmp esi, eax
je 0x4654de
mov ecx, esi
call fcn.00449940
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [esi + 0x10], xmm0
jmp 0x46551b
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x46551b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465511
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46571a
push edx
push ecx
call fcn.00537216
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x46555f
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465555
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46571a
push edx
push ecx
call fcn.00537216
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x4655ba
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4655b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46571a
push edx
push ecx
call fcn.00537216
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x465612
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46571a
push edx
push ecx
call fcn.00537216
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp edx, 8
jb 0x465673
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46571a
push edx
push ecx
call fcn.00537216
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46567d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465690
mov eax, dword [ebp - 0x70]
jmp 0x465364
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4656c6
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4656bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465724
push edx
push ecx
call fcn.00537216
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4656fc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4656f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465729
push edx
push ecx
call fcn.00537216
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00536fd5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
call fcn.00552cb1
int3