Function at 0x4511b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb13a
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 0x6407d5
mov dword [ebp - 0x138], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.00462fd0
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x6407d5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00462fd0
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x6407d5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00462fd0
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 0x4512ca
cmp dword [ecx], 0xf
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
mov eax, esi
jbe 0x4512b6
mov eax, dword [esi]
push dword [ebp - 0x130]
mov ecx, edx
push eax
call fcn.00460ad0
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 0x4512e1
mov eax, dword [esi]
mov dword [ebp - 0x130], eax
test edx, edx
je 0x451304
push edx
push 0x3a
push eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x451304
sub eax, dword [ebp - 0x130]
cmp eax, 0xffffffff
jne 0x4514ed
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 0x451340
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00462fd0
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 0x451396
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 0x4513b7
push 1
push 0x640b3c
mov byte [ebp - 0x130], 0
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x130]
push 1
call fcn.00462e70
mov edx, dword [ebp - 0x11c]
mov eax, bind
mov ecx, dword [esi + 0x10]
sub eax, edx
cmp eax, ecx
jb 0x45155f
cmp dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x12c]
cmova eax, dword [ebp - 0x12c]
cmp dword [esi + 0x14], 0xf
jbe 0x4513eb
mov esi, dword [esi]
push ecx
push esi
push edx
push eax
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x154]
call fcn.00464880
lea esi, [edi + 4]
lea eax, [ebp - 0x154]
cmp esi, eax
je 0x451477
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x451441
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x451437
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4514dd
mov eax, edx
push ecx
push eax
call fcn.005c6ee7
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 0x45147d
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x4514ad
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4514a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4514dd
push ecx
push edx
call fcn.005c6ee7
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x4514ed
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4514e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4514e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005c6ee7
add esp, 8
mov eax, dword [ebp - 0x134]
lea ecx, [edi + 0x1c]
cmp ecx, eax
je 0x45150c
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x451505
mov eax, dword [eax]
push edx
push eax
call fcn.00460ad0
mov eax, dword [ebp - 0x138]
lea ecx, [edi + 0x34]
cmp ecx, eax
je 0x45152b
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x451524
mov eax, dword [eax]
push edx
push eax
call fcn.00460ad0
mov ecx, edi
mov dword [edi + 0x4c], 0x6440d8
mov dword [edi + 0x50], 0x5000
call fcn.00451700
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.005c6b67
mov esp, ebp
pop ebp
ret 0x14
call fcn.00447140
int3