Function at 0x18005bc90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1800b43d8]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r13, r8
mov r14, rdx
mov qword [rbp - 0x60], rdx
mov esi, ecx
mov dword [rsp + 0x70], ecx
mov edi, ecx
imul eax, ecx, 0xcaf
mov dword [rsp + 0x74], eax
xor ebx, ebx
lea r8, [0x180000000]
lea r15d, [rbx + 0x33]
lea r11d, [rbx + 0x6f]
cmp ecx, eax
ja 0x18005c164
lea r10, [0x1800a9369]
lea edx, [rbx + 0x6d]
lea r9, [0x18005f980]
movabs rcx, 0x666e496d657473
lea r8d, [rbx + 0x4e]
mov r12, qword [rbp - 0x20]
mov rax, qword [rbp - 0x78]
mov qword [rbp - 0x68], rax
cmp edi, 0x8dc0
ja 0x18005bea8
je 0x18005c13b
cmp edi, 0xeb
ja 0x18005be4e
je 0x18005be46
mov eax, edi
sub eax, 0x8f
je 0x18005be14
sub eax, 0x17
je 0x18005be08
sub eax, 0x17
je 0x18005bda2
cmp eax, 0x18
jne 0x18005c075
mov word [rbp + 0x128], 0x6e
lea r8d, [rax - 0x16]
lea rdx, [0x1800abb4e]
lea rcx, [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 2
lea rdx, [0x1800abbb3]
lea rcx, [rbp + 0x128]
jmp 0x18005c04a
test r14, r14
jne 0x18005bde4
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r10
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.a___NULL
mov edx, 0xcd
xor ecx, ecx
call fcn.180026490
mov eax, dword [r13]
mov dword [rsp + 0x60], eax
mov r8d, 0x108
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.18004e7e0
mov dword [rsp + 0x60], eax
jmp 0x18005c050
mov word [rbp + 0x150], dx
jmp 0x18005c075
movsxd rax, dword [r14]
cmp eax, 0x1f
ja 0x18005c104
imul rcx, rax, 0xb0
lea rax, [0x180000000]
cmp qword [rcx + rax + 0xec000], 0
je 0x18005c104
mov dword [rsp + 0x68], ebx
jmp 0x18005c06b
mov r12, qword [r14]
jmp 0x18005c075
cmp edi, 0x108
je 0x18005be8d
cmp edi, 0x6b40
je case.0x18005c102.181
cmp edi, 0x7c80
jne 0x18005c075
mov eax, dword [0x1800abb24]
mov dword [rbp + 0x152], eax
movzx eax, word [0x1800abb28]
mov word [rbp + 0x156], ax
jmp 0x18005c075
mov qword [rbp - 0x78], r9
mov r8d, r15d
lea rdx, [rbp - 0x78]
xor ecx, ecx
call fcn.18004d710
mov qword [rbp - 0x68], rax
jmp 0x18005c050
cmp edi, 0x13eab
ja 0x18005bfff
je 0x18005bfc0
cmp edi, 0x9fc0
je 0x18005bfb3
cmp edi, 0xb040
je 0x18005bf85
cmp edi, 0xc600
je 0x18005bf26
cmp edi, 0xf85a
jne 0x18005c075
mov dword [rbp + 0x156], 0x63
mov eax, dword [0x1800abbc8]
mov dword [rbp + 0x158], eax
movzx eax, word [0x1800abbcc]
mov word [rbp + 0x15c], ax
mov r8d, 0xa
lea rdx, [rbp + 0x15c]
lea ecx, [r8 + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultow]
jmp 0x18005c050
mov esi, ebx
lea r15, [0x1800c8d70]
lea r14, [0x1800c8d70]
mov rbx, qword [rbp - 0x68]
nop word [rax + rax]
mov dword [r15], esi
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x80], r14
mov r9, rbx
lea r8, [rbp - 0x58]
mov edx, 0x71
lea rcx, [rbp - 0x80]
call fcn.180046ff0
inc esi
add r14, 4
lea r15, [r15 + 4]
cmp esi, 0x3e8
jl 0x18005bf40
xor ebx, ebx
mov r14, qword [rbp - 0x60]
lea r15d, [rbx + 0x33]
mov esi, dword [rsp + 0x70]
jmp 0x18005c050
mov rcx, r13
cmp byte [r13], 0
je 0x18005bfa9
nop
test r12, r12
je 0x18005c15f
movzx eax, byte [rcx]
mov r12, qword [r12 + rax*8 + 0x10]
inc rcx
cmp byte [rcx], 0
jne 0x18005bf90
mov qword [rsp + 0x68], r12
jmp 0x18005c06b
mov word [rbp + 0x130], r8w
jmp 0x18005c075
mov r8d, 3
lea rdx, [0x1800abbc4]
lea rcx, [rbp + 0x131]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov word [rbp + 0x133], 0x75
mov r8d, 2
lea rdx, [0x1800aa630]
lea rcx, [rbp + 0x134]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x18005c050
cmp edi, 0x15f95
je case.0x18005c102.181
cmp edi, 0x1dd96
je 0x18005c02c
cmp edi, 0x27c81
jne 0x18005c075
mov qword [rbp + 0x139], rcx
mov word [rbp + 0x140], r11w
jmp 0x18005c075
mov dword [rbp + 0x135], 0x537972
mov r8d, 1
lea rdx, [0x1800abbbc]
lea rcx, [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov edx, 0x6d
lea r8d, [rdx - 0x1f]
lea r9, [0x18005f980]
lea r10, [0x1800a9369]
lea r11d, [rdx + 2]
movabs rcx, 0x666e496d657473
imul eax, esi, 0xbf
add edi, eax
cmp edi, dword [rsp + 0x74]
jbe 0x18005bd20
lea r8, [0x180000000]
lea eax, [rsi + 0x11]
mov dword [rbp - 0x48], eax
cmp esi, eax
jae case.0x18005c102.181
mov edx, 0x6c
lea r9d, [rdx + 0xd]
lea r11d, [rdx - 0x3e]
movabs r10, 0x7ffffffffffffffe
movzx eax, word [rsp + 0x54]
mov dword [rsp + 0x7c], eax
mov r12, qword [rbp - 0x20]
movzx r13d, byte [rsp + 0x54]
movzx esi, byte [rsp + 0x54]
mov dword [rsp + 0x78], esi
movzx edi, byte [rsp + 0x50]
mov eax, dword [rsp + 0x70]
nop dword [rax]
nop dword [rax + rax]
add eax, 0xffffff5a
cmp eax, 0x62
ja case.0x18005c102.183
movzx eax, byte [r8 + rax + 0x5cd34]
mov ecx, dword [r8 + rax*4 + 0x5ccec]
add rcx, r8
jmp rcx
mov dword [rsp + 0x68], 0xa
mov rax, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1800602e0
mov rbx, qword [rsp + 0x400]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x60]
cmp eax, 0xffffffff
je 0x18005c155
cmp eax, 1
jne 0x18005c14f
mov dword [rsp + 0x68], eax
jmp case.0x18005c102.181
mov dword [rsp + 0x68], ebx
jmp case.0x18005c102.181
mov dword [rsp + 0x68], 0xffffffff
jmp case.0x18005c102.181
mov rax, rbx
jmp 0x18005c111
mov rdx, qword [rbp - 0x78]
mov qword [rbp - 0x68], rdx
jmp 0x18005c08e
cmp qword [r14 + 0x20], 0
setne byte [rsp + 0x68]
jmp case.0x18005c102.183
mov word [rbp + 0x190], bx
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rbp + 0x110], xmm0
movsd xmm1, qword [rbp + 0x50]
movsd qword [rbp + 0x120], xmm1
jmp case.0x18005c102.183
mov r8d, 5
lea rdx, [0x1800abc16]
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov eax, dword [0x1800abc86]
mov dword [rbp + 0x18a], eax
movzx eax, word [0x1800abc8a]
mov word [rbp + 0x18e], ax
movabs r10, 0x7ffffffffffffffe
mov r11d, 0x2e
jmp 0x18005c2bf
mov word [rbp + 0x168], dx
mov dword [rbp + 0x16a], 0x620069
jmp case.0x18005c102.183
cmp byte [rsp + 0x50], 0
je 0x18005cc38
mov edi, 8
lea r13d, [rdi + 0x50]
cmp edi, 8
je 0x18005c261
cmp edi, 0x2b8
je 0x18005c238
cmp edi, 0x568
jne 0x18005c292
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.dbghelp.dll_SymCleanup]
jmp 0x18005c292
mov dword [rbp + 0x60], r13d
mov dword [rbp + 0xb0], 0x7d0
lea r9, [rbp + 0x60]
lea r8, [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.dbghelp.dll_SymFromAddr]
mov dword [rbp - 0x70], eax
jmp 0x18005c292
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rax
add edi, 0x2b0
cmp edi, 0x810
jbe 0x18005c217
movzx r13d, byte [rsp + 0x54]
movabs r10, 0x7ffffffffffffffe
mov r11d, 0x2e
movzx edi, byte [rsp + 0x50]
mov r9d, 0x79
lea edx, [r9 - 0xd]
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp eax, dword [rbp - 0x48]
jae case.0x18005c102.181
mov r14, qword [rbp - 0x60]
lea r8, [0x180000000]
jmp 0x18005c0e0
lea rax, [rbp + 0x168]
mov qword [rbp + 0x118], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.dbghelp.dll_SymInitialize]
mov dword [rbp - 0x70], eax
jmp 0x18005c1d8
mov eax, 0x6f
mov word [rbp + 0x146], ax
lea r8d, [rax - 0x6d]
lea rdx, [0x1800abc94]
lea rcx, [rbp + 0x147]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rcx, [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 8], rax
jmp 0x18005c1d8
lea rdx, [rbp + 0x130]
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0x20], rax
jmp 0x18005c1d8
mov dword [rbp - 0x28], 7
mov dil, 1
mov byte [rsp + 0x50], dil
lea rax, [rbp + 0x150]
mov qword [rbp + 0x110], rax
mov qword [rbp - 0x40], 0xffffffffffffffff
jmp case.0x18005c102.183
mov dword [rbp + 0x16e], 0x610065
mov word [rbp + 0x172], r9w
jmp case.0x18005c102.183
mov r8d, 2
lea rdx, [0x1800a9890]
lea rcx, [rbp + 0x141]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov r8d, 4
lea rdx, [0x1800abc98]
lea rcx, [rbp + 0x142]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, 0x69
mov word [rbp + 0x145], ax
jmp 0x18005c1d8
mov dword [rbp + 0x174], 0x320033
mov word [rbp + 0x178], bx
mov word [rbp + 0x180], bx
jmp case.0x18005c102.183
lea rdx, [rbp + 0xe0]
mov ecx, dword [rbp - 0x28]
call qword [sym.imp.SHELL32.dll_SHAppBarMessage]
jmp 0x18005c1d8
lea rax, [rbp + 0x180]
mov qword [rbp + 0x120], rax
mov dword [rbp + 0xe0], 0x30
mov ecx, ebx
movzx eax, dil
cmp dword [rbp - 0x70], 0
cmovne ecx, eax
mov byte [rsp + 0x50], cl
mov dword [rsp + 0x60], ebx
mov r9, rbx
mov qword [rbp - 0x30], rbx
nop dword [rax]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], bx
mov r8d, 0x8d
mov dword [rsp + 0x58], r8d
mov edx, ebx
mov dword [rsp + 0x5c], ebx
cmp edx, 0xb
ja case.default.0x18005c4ad
mov eax, edx
lea rdi, [0x180000000]
mov ecx, dword [rdi + rax*4 + 0x5cd98]
add rcx, rdi
jmp rcx
mov rsi, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x38]
cmp rsi, rcx
jae 0x18005c4dd
lea rax, [rsi + 1]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
cmp rcx, 8
cmovae rax, qword [rbp + 0x20]
mov dword [rax + rsi*2], 0x2e
jmp 0x18005c5ae
mov rax, r10
sub rax, rsi
cmp rax, 1
jb 0x18005cce4
lea r12, [rsi + 1]
mov r14, qword [rbp + 0x38]
mov rdi, r12
or rdi, 7
cmp rdi, r10
jbe 0x18005c506
mov rdi, r10
jmp 0x18005c527
mov rcx, r14
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp r14, rax
jbe 0x18005c51c
mov rdi, r10
jmp 0x18005c527
lea rax, [r14 + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rbp + 0x20]
call fcn.180019c50
mov r15, rax
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], rdi
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x18005c599
mov rdi, qword [rbp + 0x20]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + r15], 0x2e
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x18005c58f
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x18005cc49
mov rdi, rcx
mov rcx, rdi
call fcn.18005fdc8
jmp 0x18005c5aa
lea rdx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + r15], 0x2e
mov qword [rbp + 0x20], r15
lea r9, [rbp - 0x58]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
mov dword [rsp + 0x74], eax
mov r8d, 3
lea rdx, [0x1800abca0]
lea rcx, [rbp + 0x20]
call fcn.180019d50
movsx ecx, word [rsp + 0x7c]
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r12, rax
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
jmp case.default.0x18005c4ad
mov ecx, ebx
movzx eax, r13b
cmp dword [rsp + 0x74], 0
cmove ecx, eax
movzx r13d, cl
mov byte [rsp + 0x54], cl
mov ecx, ebx
movzx eax, byte [rsp + 0x51]
test r12, r12
cmovne ecx, eax
movzx eax, cl
mov byte [rsp + 0x51], cl
test cl, cl
je case.default.0x18005c4ad
mov esi, 0x55
movsxd r13, dword [rsp + 0x7c]
nop word [rax + rax]
cmp esi, 0x55
je 0x18005c70e
cmp esi, 0x14eb
jne 0x18005c6e8
test al, al
je 0x18005c6e8
mov edi, 0xf9
cmp edi, 0xf9
je 0x18005c6ca
cmp edi, 0x8256
je 0x18005c6a9
cmp edi, 0x103b3
je 0x18005c69d
cmp edi, 0x18510
jne 0x18005c6d5
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18005c6d5
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x18005c6d5
lea rax, [rbp - 0x24]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
lea r8, [rbp]
mov edx, 4
mov rcx, qword [rbp - 0x38]
call sub.dbghelp.dll_MiniDumpReadDumpStream
jmp 0x18005c6d5
mov qword [rbp], rbx
mov qword [rbp + 8], rbx
mov dword [rbp - 0x24], ebx
add edi, 0x815d
cmp edi, 0x20574
jbe 0x18005c672
movzx eax, byte [rsp + 0x51]
add esi, 0x1496
cmp esi, 0x292c
jbe 0x18005c650
movzx r13d, byte [rsp + 0x54]
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
jmp case.default.0x18005c4ad
movsx rax, r13w
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp - 0x38], rax
cmp rax, 0
jne 0x18005c6e3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov byte [rsp + 0x51], al
jmp 0x18005c6e8
mov word [rbp + 0x7e], bx
lea rcx, [rbp + 0x60]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18005c752
mov eax, dword [0x1800abca8]
mov dword [rcx], eax
movzx eax, word [0x1800abcac]
mov word [rcx + 4], ax
movsd xmm0, qword [str.orFr]
movsd qword [rbp + 0x82], xmm0
movzx eax, word [0x1800abcb8]
mov word [rbp + 0x8a], ax
jmp case.default.0x18005c4ad
mov eax, dword [0x1800abcbc]
mov dword [rbp + 0x60], eax
movabs rax, 0x5f006c0061
mov qword [rbp + 0x64], rax
mov eax, dword [0x1800abcc4]
mov dword [rbp + 0x6a], eax
mov dword [rbp + 0x6e], 0x44
jmp case.default.0x18005c4ad
test r13b, r13b
je case.default.0x18005c4ad
mov edi, 0xf9
nop dword [rax]
cmp edi, 0xf9
je 0x18005c7fe
cmp edi, 0xb2f8
jne 0x18005c813
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18005c7ee
call sub.RPCRT4.dll_MesHandleFree
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18005c813
call sub.RPCRT4.dll_MesHandleFree
jmp 0x18005c813
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
mov dword [rsp + 0x74], eax
add edi, 0xb1ff
cmp edi, 0x163fe
jbe 0x18005c7d0
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
jmp case.default.0x18005c4ad
movsd xmm0, qword [str.mFVF]
movsd qword [rbp + 0x8c], xmm0
movzx eax, word [0x1800abcd8]
mov word [rbp + 0x94], ax
mov byte [rsp + 0x51], 1
mov rsi, qword [r14 + 0x10]
mov rdi, r14
cmp qword [r14 + 0x18], 8
jb 0x18005c863
mov rdi, qword [r14]
cmp rsi, 8
jae 0x18005c87c
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x40], xmm0
mov r15d, 7
mov r13, qword [rbp + 0x40]
jmp 0x18005c8bb
mov r15, rsi
or r15, 7
cmp r15, r10
cmova r15, r10
lea rdx, [r15 + 1]
lea rcx, [rbp + 0x40]
call fcn.180019c50
mov r13, rax
mov qword [rbp + 0x40], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movabs r10, 0x7ffffffffffffffe
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x50], rsi
lea r14, [rbp + 0x40]
cmp r15, 8
cmovae r14, r13
cmp rsi, 8
jae 0x18005c8e6
movups xmm0, xmmword [r14]
mov qword [rbp + 0xd8], 7
jmp 0x18005c92c
mov rdi, rsi
or rdi, 7
cmp rdi, r10
cmova rdi, r10
lea rdx, [rdi + 1]
lea rcx, [rbp + 0xc0]
call fcn.180019c50
mov qword [rbp + 0xc0], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xd8], rdi
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0xd0], rsi
mov rcx, qword [rbp + 0x38]
cmp rcx, 8
jb 0x18005c977
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c972
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cc42
call fcn.18005fdc8
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rbp + 0x30], xmm0
cmp r15, 8
jb 0x18005c9c5
lea rdx, [r15*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x18005c9bd
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cc49
mov rcx, r13
call fcn.18005fdc8
mov r13b, 1
mov byte [rsp + 0x54], r13b
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
jmp case.default.0x18005c4ad
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rbp + 0x10], rax
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
jmp case.default.0x18005c4ad
mov word [rbp + 0x72], bx
lea rcx, [rbp + 0x60]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18005ca12
mov eax, dword [0x1800abcdc]
mov dword [rcx], eax
movzx eax, word [0x1800abce0]
mov word [rcx + 4], ax
movabs rax, 0x61006c0063
mov qword [rbp + 0x76], rax
mov eax, 0x72
mov word [rbp + 0x7c], ax
jmp case.default.0x18005c4ad
mov dword [rsp + 0x7c], 0x100
mov rdx, qword [rbp + r9*8 + 0x110]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x18005ca62
lea rcx, [rbp + 0x20]
call fcn.180019d50
mov qword [rbp - 0x58], rbx
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
jmp case.default.0x18005c4ad
cmp qword [rbp + 0x10], 0
jne case.default.0x18005c4ad
mov edi, 0x4c
nop dword [rax + rax]
mov eax, edi
sub eax, 0x4c
je 0x18005cb55
sub eax, 1
je 0x18005cb41
sub eax, 1
je 0x18005cafc
cmp eax, 1
jne 0x18005cb60
test sil, sil
je 0x18005cc79
mov r15d, 0x33
mov eax, r15d
sub eax, 0x32
je 0x18005cc50
cmp eax, 1
jne 0x18005cc6c
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
jmp 0x18005cc6c
lea r9, [rbp - 0x78]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
movzx esi, sil
test eax, eax
cmovne esi, ebx
mov dword [rsp + 0x78], esi
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rbp - 0x4c]
mov r8, qword [rbp + 0x18]
mov edx, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
jmp 0x18005cb60
mov dword [rbp - 0x50], 0x36
mov qword [rbp - 0x78], rbx
mov qword [rbp + 0x18], rbx
mov dword [rbp - 0x4c], ebx
jmp 0x18005cb60
mov qword [rbp - 0x20], rbx
mov sil, 1
mov dword [rsp + 0x78], esi
inc edi
cmp edi, 0x50
jb 0x18005caa0
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x58]
jmp case.default.0x18005c4ad
mov eax, 0x58
mov word [rbp + 0x70], ax
jmp case.default.0x18005c4ad
mov eax, 0x6f
mov dword [rbp + 0x8a], eax
inc r8d
mov dword [rsp + 0x58], r8d
inc edx
mov dword [rsp + 0x5c], edx
cmp r8d, 0x99
mov esi, dword [rsp + 0x78]
mov r14, qword [rbp - 0x60]
mov r9, qword [rbp - 0x30]
movabs r10, 0x7ffffffffffffffe
jb 0x18005c491
mov rcx, qword [rbp + 0x38]
cmp rcx, 8
jb 0x18005cbfd
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005cbf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005ccca
call fcn.18005fdc8
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov r9, qword [rbp - 0x30]
inc r9
mov qword [rbp - 0x30], r9
cmp eax, 3
mov esi, dword [rsp + 0x78]
mov r14, qword [rbp - 0x60]
movabs r10, 0x7ffffffffffffffe
mov r11d, 0x2e
jb 0x18005c470
jmp 0x18005c2ba
movzx edi, byte [rsp + 0x50]
jmp case.0x18005c102.183
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18005cc5e
call sub.RPCRT4.dll_MesHandleFree
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18005cc6c
call sub.RPCRT4.dll_MesHandleFree
dec r15d
cmp r15d, 0x31
ja 0x18005cad1
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb case.0x18005c102.181
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ccc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005ccc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005fdc8
jmp case.0x18005c102.181
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [rsp + 0x68], 1
jmp case.0x18005c102.181
mov rax, qword [rbp - 0x68]
jmp 0x18005c111
call fcn.180017ac0
int3