Function at 0x41b510
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
sub rsp, 0x1b8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax - 8], rdi
mov qword [rax - 0x10], r12
mov qword [rax - 0x18], r13
mov qword [rax - 0x20], r14
mov rax, qword [0x004792e8]
mov qword [rsp + 0x180], rax
mov rbp, rcx
xor edi, edi
mov dword [rsp + 0x24], edi
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add rbp, 0x68
mov rax, qword [rbp]
xor edx, edx
mov rcx, rbp
call qword [rax + 8]
lea r11, [rsp + 0x70]
mov qword [rsp + 0x30], r11
lea r14, [0x0045e728]
mov qword [rsp + 0x28], r14
mov ebx, edi
mov dword [rsp + 0x38], edi
cmp byte [rsp + 0x70], bl
je 0x41b5b0
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rsp + rax + 0x70], dil
jne 0x41b5a0
mov dword [rsp + 0x38], ebx
movsxd rsi, dword [rbp + 0x10]
mov eax, dword [rbp + 0x10]
lea edx, [rbx + rax]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 8]
cmp esi, esi
jge 0x41b5e1
mov rdx, qword [rbp + 8]
add rdx, rsi
movsxd rcx, ebx
add rcx, rdx
mov eax, esi
sub eax, esi
movsxd r8, eax
call fcn.00446c20
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rbp + 8]
lea rdx, [rsp + 0x70]
call fcn.00446c20
nop
mov esi, 1
mov r8d, esi
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.00404500
mov rbx, rax
mov dword [rsp + 0x24], esi
mov edx, edi
lea r12, [0x0046002c]
nop
nop
inc edx
movsxd rcx, edx
cmp byte [rcx + r12], 0
jne 0x41b620
mov r11d, dword [rax + 0x10]
mov eax, edx
cmp r11d, edx
cmovl eax, r11d
mov r8d, edi
mov rcx, rdi
movsxd r9, eax
test eax, eax
jle 0x41b66b
mov r10, qword [rbx + 8]
nop
nop
movzx eax, byte [rcx + r12]
cmp byte [r10 + rcx], al
jne 0x41b666
inc r8d
inc rcx
cmp rcx, r9
jl 0x41b650
test r8d, r8d
js 0x41b67e
cmp r8d, r11d
jge 0x41b67e
movsxd rcx, r8d
mov rax, qword [rbx + 8]
movzx r9d, byte [rcx + rax]
jmp 0x41b681
xor r9b, r9b
test r8d, r8d
js 0x41b695
cmp r8d, edx
jge 0x41b695
movsxd rax, r8d
movzx edx, byte [rax + r12]
jmp 0x41b697
xor dl, dl
movsx ecx, r9b
movsx eax, dl
lea r12, [0x00460028]
sub ecx, eax
je 0x41b755
mov r8d, esi
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.00404500
mov rbx, rax
mov esi, 3
mov r8d, edi
nop
nop
inc r8d
movsxd rcx, r8d
cmp byte [rcx + r12], 0
jne 0x41b6d0
mov r11d, dword [rax + 0x10]
mov ecx, r8d
cmp r11d, r8d
cmovl ecx, r11d
mov r9d, edi
mov rdx, rdi
movsxd r10, ecx
test ecx, ecx
jle 0x41b71a
mov rcx, qword [rax + 8]
nop
movzx eax, byte [rdx + r12]
cmp byte [rcx + rdx], al
jne 0x41b715
inc r9d
inc rdx
cmp rdx, r10
jl 0x41b700
test r9d, r9d
js 0x41b72d
cmp r9d, r11d
jge 0x41b72d
movsxd rcx, r9d
mov rax, qword [rbx + 8]
movzx r10d, byte [rcx + rax]
jmp 0x41b730
xor r10b, r10b
test r9d, r9d
js 0x41b744
cmp r9d, r8d
jge 0x41b744
movsxd rax, r9d
movzx edx, byte [rax + r12]
jmp 0x41b746
xor dl, dl
movsx ecx, r10b
movsx eax, dl
sub ecx, eax
je 0x41b755
mov bl, 1
jmp 0x41b757
xor bl, bl
lea r13, [0x0045e628]
test sil, 2
je 0x41b794
and esi, 0xfffffffd
mov qword [rsp + 0x28], r13
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x40], edi
test rcx, rcx
je 0x41b788
call fcn.00446bf0
lea rax, [0x0045e600]
mov qword [rsp + 0x28], rax
test sil, 1
je 0x41b7bb
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x60], edi
test rcx, rcx
je 0x41b7bb
call fcn.00446bf0
test bl, bl
je 0x41b824
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
nop
nop
inc edi
mov dword [rsp + 0x38], edi
movsxd rax, edi
cmp byte [rax + r12], 0
jne 0x41b7d0
movsxd rbx, dword [rbp + 0x10]
mov eax, dword [rbp + 0x10]
lea edx, [rdi + rax]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 8]
cmp ebx, ebx
jge 0x41b811
mov rdx, qword [rbp + 8]
add rdx, rbx
movsxd rcx, edi
add rcx, rdx
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.00446c20
movsxd r8, edi
mov rcx, rbx
add rcx, qword [rbp + 8]
mov rdx, r12
call fcn.00446c20
nop
mov rcx, qword [rsp + 0x180]
call fcn.0045d640
mov rbx, qword [rsp + 0x1c8]
mov rbp, qword [rsp + 0x1d0]
mov rsi, qword [rsp + 0x1d8]
mov rdi, qword [rsp + 0x1b0]
mov r12, qword [rsp + 0x1a8]
mov r13, qword [rsp + 0x1a0]
mov r14, qword [rsp + 0x198]
add rsp, 0x1b8
ret