Function at 0x4511e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf08a
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x65ebc0]
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 0x644805
mov dword [ebp - 0x138], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00466bc0
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x644805
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00466bc0
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x644805
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00466bc0
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 0x4512fa
cmp dword [ecx], 0xf
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
mov eax, esi
jbe 0x4512e6
mov eax, dword [esi]
push dword [ebp - 0x130]
mov ecx, edx
push eax
call fcn.00464580
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 0x451311
mov eax, dword [esi]
mov dword [ebp - 0x130], eax
test edx, edx
je 0x451334
push edx
push 0x3a
push eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x451334
sub eax, dword [ebp - 0x130]
cmp eax, 0xffffffff
jne 0x45151d
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 0x451370
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00466bc0
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 0x4513c6
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 0x4513e7
push 1
push 0x644b6c
mov byte [ebp - 0x130], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x130]
push 1
call fcn.00466a40
mov edx, dword [ebp - 0x11c]
mov eax, bind
mov ecx, dword [esi + 0x10]
sub eax, edx
cmp eax, ecx
jb 0x45158f
cmp dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
cmp dword [esi + 0x14], 0xf
jbe 0x45141b
mov esi, dword [esi]
push ecx
push esi
push edx
push eax
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x154]
call fcn.00468470
lea esi, [edi + 4]
lea eax, [ebp - 0x154]
cmp esi, eax
je 0x4514a7
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x451471
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x451467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45150d
mov eax, edx
push ecx
push eax
call fcn.005cae57
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 0x4514ad
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x4514dd
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4514d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45150d
push ecx
push edx
call fcn.005cae57
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x45151d
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451513
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x451513
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005cae57
add esp, 8
mov eax, dword [ebp - 0x134]
lea ecx, [edi + 0x1c]
cmp ecx, eax
je 0x45153c
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x451535
mov eax, dword [eax]
push edx
push eax
call fcn.00464580
mov eax, dword [ebp - 0x138]
lea ecx, [edi + 0x34]
cmp ecx, eax
je 0x45155b
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x451554
mov eax, dword [eax]
push edx
push eax
call fcn.00464580
mov ecx, edi
mov dword [edi + 0x4c], 0x647f20
mov dword [edi + 0x50], 0x5000
call fcn.00451730
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.005caad7
mov esp, ebp
pop ebp
ret 0x14
call fcn.00447190
int3