Function at 0x451190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb67a
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x659bc0]
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, ecx
mov dword [ebp - 0x130], edi
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 4]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x13c], edi
mov byte [edi], 0
push 0
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x10]
movups xmmword [edi + 4], xmm0
push 0x6407e5
mov dword [ebp - 0x138], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00463000
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x6407e5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00463000
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x6407e5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00463000
mov byte [ebp - 4], 2
lea edx, [edi + 4]
mov dword [edi + 0x4c], 0
lea eax, [esi + 0x10]
mov dword [edi + 0x50], 0
lea ecx, [esi + 0x14]
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
cmp edx, esi
je 0x4512aa
cmp dword [ecx], 0xf
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
mov eax, esi
jbe 0x451296
mov eax, dword [esi]
push dword [ebp - 0x130]
mov ecx, edx
push eax
call fcn.00460b00
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
cmp dword [ecx], 0xf
mov edx, dword [eax]
mov eax, esi
mov dword [ebp - 0x130], esi
jbe 0x4512c1
mov eax, dword [esi]
mov dword [ebp - 0x130], eax
test edx, edx
je 0x4512e4
push edx
push 0x3a
push eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x4512e4
sub eax, dword [ebp - 0x130]
cmp eax, 0xffffffff
jne 0x4514cd
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x12c], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451320
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00463000
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x118]
mov eax, edx
mov ecx, dword [ebp - 0x11c]
sub eax, ecx
cmp eax, 1
jb 0x451376
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
mov word [eax + ecx], 0x5c
jmp 0x451397
push 1
push 0x640b60
mov byte [ebp - 0x130], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x130]
push 1
call fcn.00462ea0
mov edx, dword [ebp - 0x11c]
mov eax, bind
mov ecx, dword [esi + 0x10]
sub eax, edx
cmp eax, ecx
jb 0x45153f
cmp dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
cmp dword [esi + 0x14], 0xf
jbe 0x4513cb
mov esi, dword [esi]
push ecx
push esi
push edx
push eax
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x154]
call fcn.004648b0
lea esi, [edi + 4]
lea eax, [ebp - 0x154]
cmp esi, eax
je 0x451457
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x451421
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x451417
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4514bd
mov eax, edx
push ecx
push eax
call fcn.005c7447
add esp, 8
movups xmm0, xmmword [ebp - 0x154]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x154], 0
movq xmm0, qword [ebp - 0x144]
movq qword [esi + 0x10], xmm0
jmp 0x45145d
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x45148d
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451483
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4514bd
push ecx
push edx
call fcn.005c7447
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x4514cd
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4514c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4514c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005c7447
add esp, 8
mov eax, dword [ebp - 0x134]
lea ecx, [edi + 0x1c]
cmp ecx, eax
je 0x4514ec
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x4514e5
mov eax, dword [eax]
push edx
push eax
call fcn.00460b00
mov eax, dword [ebp - 0x138]
lea ecx, [edi + 0x34]
cmp ecx, eax
je 0x45150b
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x451504
mov eax, dword [eax]
push edx
push eax
call fcn.00460b00
mov ecx, edi
mov dword [edi + 0x4c], 0x6441f0
mov dword [edi + 0x50], 0x5000
call fcn.004516e0
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.005c70c7
mov esp, ebp
pop ebp
ret 0x14
call fcn.00447140
int3