Function at 0x45f6e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2e0
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x463190
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
cmp dword [esi + 0x1c], 0
je 0x45f9d7
mov eax, dword [esi + 0x60]
test eax, eax
je 0x45f9d7
cmp dword [eax + 0x5c], 0
je 0x45f9d7
sub esp, 0x14
lea edi, [ebp - 0x2ec]
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x72c860]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x45f9d7
mov dword [ebp - 0x20], esi
add esi, 0xc
push edi
call fcn.00715b64
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0xcc]
movups xmmword [ecx], xmm0
xorps xmm0, xmm0
movsd qword [ecx + 0x10], xmm0
push eax
push edi
call fcn.004051ae
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.00424096
lea ecx, [ebp - 0x50]
xorps xmm0, xmm0
movsd qword [ecx + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ebp - 0x10], 9
push 4
push str..lnk
call fcn.004051ae
mov dword [ebp - 0x10], 0xa
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0x50]
push eax
call fcn.0041d5ee
lea ecx, [ebp - 0xcc]
push eax
call fcn.00418f92
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x45f7fb
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x50]
call fcn.00404bbf
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, 8
mov esi, dword [ebp - 0x20]
jb 0x45f819
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x38]
call fcn.00404bbf
add esp, 8
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0xb4]
mov ecx, esi
push edx
call eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], 1
lea edx, [ebp - 0xe4]
push edx
call eax
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0xe4]
push 4
push str.run
push 0
call fcn.0043b10c
movsd xmm0, qword [eax + 0x10]
lea ecx, [ebp - 0x6c]
movsd qword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x10], 3
push 2
push 0x79a2b7
call fcn.00410984
movsd xmm0, qword [eax + 0x10]
lea ecx, [ebp - 0x84]
movsd qword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x10], 4
sub esp, 0xc
mov al, byte [ebp - 0x38]
mov byte [esp], al
lea eax, [ebp - 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x50]
call fcn.004635ec
mov dword [ebp - 0x10], 5
lea ecx, [ebp - 0x50]
push 0x22
call fcn.00410cc6
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp dword [ebp - 0x24], 0x10
jb 0x45f92e
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [0x7f2f30]
mov ecx, dword [0x7f325c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45fbb7
mov eax, dword [0x7f2f28]
mov ecx, 0x7f2f18
cmp dword [0x7f2f2c], 0x10
jb 0x45f968
mov ecx, dword [0x7f2f18]
mov dword [ebp - 0x10], 6
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, eax
cmp edx, dword [0x7f2f28]
jb 0x45f9ef
add edx, 0x104
mov ecx, 0x7f2f18
push 0
push edx
call fcn.0040b9bc
mov eax, 0x7f2f18
cmp dword [0x7f2f2c], 0x10
jb 0x45f9a9
mov eax, dword [0x7f2f18]
push dword [0x7f2f28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x7f2f18
push 0
push eax
mov dword [ebp - 0x20], eax
call fcn.0040b9bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x20]
test eax, eax
jne 0x45f97b
jmp 0x45f9fc
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x2e0
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x7f2f18
push 0
push edx
call fcn.0040b9bc
xorps xmm0, xmm0
movsd qword [ebp - 0x8c], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x9c], xmm0
mov eax, dword [0x7f2f28]
mov edx, 0x7f2f18
cmp dword [0x7f2f2c], 0x10
jb 0x45fa2a
mov edx, dword [0x7f2f18]
lea ecx, [ebp - 0x9c]
push eax
push edx
call fcn.00410ad6
cmp dword [ebp - 0x88], 0x10
lea edx, [ebp - 0x9c]
jb 0x45fa4c
mov edx, dword [ebp - 0x9c]
cmp dword [ebp - 0xb8], 8
lea ecx, [ebp - 0xcc]
jb 0x45fa61
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x10], 8
sub esp, 0x20
movaps xmm0, xmmword [0x72c870]
movups xmmword [esp + 0xc], xmm0
mov eax, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0x1c], 0
call fcn.004576ae
add esp, 0x20
test eax, eax
setns bl
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x45fab5
inc eax
push eax
push dword [ebp - 0x9c]
call fcn.00404bbf
add esp, 8
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x45faca
inc eax
push eax
push dword [ebp - 0x38]
call fcn.00404bbf
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x45faf1
inc eax
push eax
push dword [ebp - 0x50]
call fcn.00404bbf
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x45fb1b
inc eax
push eax
push dword [ebp - 0x84]
call fcn.00404bbf
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x45fb45
inc eax
push eax
push dword [ebp - 0x6c]
call fcn.00404bbf
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov eax, dword [ebp - 0xd0]
cmp eax, 0x10
jb 0x45fb72
inc eax
push eax
push dword [ebp - 0xe4]
call fcn.00404bbf
add esp, 8
mov eax, dword [ebp - 0xa0]
cmp eax, 0x10
jb 0x45fb8d
inc eax
push eax
push dword [ebp - 0xb4]
call fcn.00404bbf
add esp, 8
mov eax, dword [ebp - 0xb8]
cmp eax, 8
jb 0x45f9d9
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0xcc]
call fcn.00404bbf
add esp, 8
jmp 0x45f9d9
push 0x7f2f30
call fcn.0053e579
add esp, 4
cmp dword [0x7f2f30], 0xffffffff
jne 0x45f94f
xorps xmm0, xmm0
movsd qword [0x7f2f28], xmm0
xorps xmm0, xmm0
movups xmmword [0x7f2f18], xmm0
mov dword [ebp - 0x10], 7
push 0x110
call fcn.0053e4fc
add esp, 4
mov dword [0x7f2f18], eax
mov dword [0x7f2f28], 0x104
mov dword [0x7f2f2c], 0x10f
push 0x105
push 0
push eax
call fcn.006fba50
add esp, 0xc
push 0x462eb5
call fcn.0053e73b
add esp, 4
push 0x7f2f30
call fcn.0053e5f3
add esp, 4
jmp 0x45f94f