Function at 0x180012aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x180070338]
xor rax, rsp
mov qword [rbp], rax
lea eax, [rdx + 8]
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x54], eax
mov r9, r8
mov ebx, dword [rsp + 0x54]
mov r15d, edx
mov dword [rsp + 0x50], edx
mov r8, rcx
mov qword [rbp - 0x70], rcx
cmp edx, eax
jae case.0x180012b37.31
mov esi, dword [rsp + 0x54]
lea rdx, [0x180000000]
mov r13, qword [rbp - 0x68]
mov edi, 1
mov r14, qword [rbp - 0x68]
xor r11d, r11d
mov qword [rbp - 0x60], rsi
lea r10d, [rdi + 3]
nop
lea eax, [r15 - 0x14]
cmp eax, 0xb
ja case.0x180012b37.24
mov ecx, dword [rdx + rax*4 + 0x1338c]
add rcx, rdx
jmp rcx
mov r12d, dword [rsp + 0x48]
bt r12d, 0xe
jae 0x180012c1d
cmp r12d, 0x4100
jne 0x180012c1d
mov r15d, PathMakeUniqueName
nop dword [rax]
cmp r15d, 0x2e
je 0x180012be4
cmp r15d, 0xb6
je 0x180012bb4
cmp r15d, 0x13e
je 0x180012bb0
cmp r15d, 0x1c6
jne 0x180012bf9
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180058e50
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ebx, edi
jmp 0x180012bf9
mov ecx, dword [0x180074e58]
mov eax, dword [0x180074e54]
cmp ecx, eax
jne 0x180012bf9
movzx eax, byte [0x180074e5c]
test al, al
je 0x180012bf9
mov rax, qword [0x180074e20]
xor r8d, r8d
xor edx, edx
mov ecx, ILFree
call rax
jmp 0x180012bf4
mov r8d, 0xe9
mov rdx, r9
xor ecx, ecx
call fcn.180050490
mov r9, qword [rsp + 0x40]
add r15d, 0x88
cmp r15d, 0x24e
jb 0x180012b60
mov r10d, 4
lea rdx, [0x180000000]
xor r11d, r11d
bt r12d, 0xf
jae 0x180012fd2
mov ecx, 0x125
jmp 0x180012c39
mov r10d, 4
xor r11d, r11d
mov eax, ecx
sub eax, 0x123
je case.0x180012b37.31
sub eax, 1
je 0x180012fae
cmp eax, 1
jne 0x180012fb8
cmp r12d, 0x8040
jg 0x180012f42
je 0x180012dad
mov ecx, r12d
sub ecx, 0x8001
je 0x180012f8a
sub ecx, eax
je 0x180012f8a
sub ecx, 2
je 0x180012f8a
cmp ecx, 0xc
jne 0x18001337d
mov r15d, 5
lea r12d, [rax + 5]
nop
cmp r15d, 5
ja case.default.0x180012cb7
mov eax, r15d
mov ecx, dword [rdx + rax*4 + 0x133bc]
add rcx, rdx
jmp rcx
lea rcx, [r13 + 4]
mov rdx, r10
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r14], al
inc r14
sub rdx, 1
jne 0x180012cc0
add r13, 8
jmp case.default.0x180012cb7
add r13, 4
jmp case.default.0x180012cb7
mov rcx, r13
mov rdx, r10
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r14], al
inc r14
sub rdx, 1
jne 0x180012cf0
add r13, 4
mov rdx, r10
mov rcx, r13
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r14], al
inc r14
sub rdx, 1
jne 0x180012d10
jmp case.default.0x180012cb7
mov rcx, r13
mov rdx, r10
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r14], al
inc r14
sub rdx, 1
jne 0x180012d30
movzx eax, byte [r9 + 4]
mov byte [r14], al
jmp case.default.0x180012cb7
mov eax, dword [r9 + 5]
lea r13, [r9 + 5]
mov dword [rbp - 0x18], eax
lea r14, [rbp - 0x14]
jmp case.default.0x180012cb7
mov rax, qword [0x180074e20]
test rax, rax
je case.default.0x180012cb7
mov rax, qword [0x180074e20]
lea rdx, [rbp - 0x18]
mov r8b, 0x15
mov ecx, 0x8010
call rax
mov r9, qword [rsp + 0x40]
lea rdx, [0x180000000]
dec r15d
mov r10d, 4
sub r12, 1
jne 0x180012ca0
mov r12d, dword [rsp + 0x48]
mov ecx, 0x125
jmp 0x180012fb8
mov edi, ILFindLastID
lea esi, [rdi - 4]
lea r15d, [rdi + 0x3b]
lea r12d, [rdi + 4]
jmp 0x180012dc3
xor r11d, r11d
cmp r15d, 0x47
je 0x180012e6d
cmp r15d, 0x27a9
jne 0x180012f14
mov qword [rsp + 0x38], r11
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov qword [rsp + 0x28], r11
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r8d, 0xe1
mov word [rsp + 0x58], di
call fcn.1800218e0
mov dword [rbp - 0x24], eax
xor r9d, r9d
xor eax, eax
mov word [rsp + 0x60], r12w
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov r8d, 0xe1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1800218e0
mov dword [rbp - 0x20], eax
mov rax, qword [0x180074e20]
test rax, rax
je 0x180012f14
mov rax, qword [0x180074e20]
lea rdx, [rbp - 0x30]
mov r8b, 0x14
mov ecx, 0x8040
call rax
jmp 0x180012f14
mov qword [rsp + 0x38], r11
lea r13, [r9 + 5]
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], r11
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov word [rsp + 0x68], r11w
mov r8d, 0xe1
call fcn.1800218e0
mov dword [rbp - 0x30], eax
xor r9d, r9d
mov eax, 4
xor edx, edx
mov word [rsp + 0x70], ax
xor ecx, ecx
xor eax, eax
mov r8d, 0xe1
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1800218e0
mov dword [rbp - 0x2c], eax
xor r9d, r9d
xor eax, eax
mov word [rsp + 0x78], si
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov r8d, 0xe1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.1800218e0
mov dword [rbp - 0x28], eax
mov r9, qword [rsp + 0x40]
add r15d, 0x2762
cmp r15d, 0x4ec4
jbe 0x180012dc0
mov rsi, qword [rbp - 0x60]
mov edi, 1
mov r12d, dword [rsp + 0x48]
mov ecx, 0x125
jmp 0x180012fb8
cmp r12d, 0x8080
je 0x180012f8a
cmp r12d, 0x8200
je 0x180012f8a
cmp r12d, 0x8800
jne 0x18001337d
mov rax, qword [0x180074e20]
lea r13, [r9 + 5]
test rax, rax
je 0x180012fa7
mov rax, qword [0x180074e20]
mov r8b, 1
mov rdx, r13
mov ecx, r12d
call rax
mov ecx, 0x125
jmp 0x180012fb8
mov rax, qword [0x180074e20]
test rax, rax
je 0x180012fa7
mov rax, qword [0x180074e20]
xor r8d, r8d
xor edx, edx
mov ecx, r12d
call rax
mov ecx, 0x125
jmp 0x180012fb8
mov dword [rsp + 0x50], 0x1d
mov ebx, edi
mov r9, qword [rsp + 0x40]
lea rdx, [0x180000000]
dec ecx
cmp ecx, 0x122
ja 0x180012c30
cmp r12d, 0x1003
je 0x180012fec
lea eax, [r12 - 0x100e]
cmp eax, 1
ja 0x1800130cb
mov r15, qword [rsp + 0x40]
mov r12d, 0xcb
nop word [rax + rax]
mov eax, r12d
sub eax, 0xca
je 0x180013053
cmp eax, 1
jne 0x1800130b6
xor ecx, ecx
mov eax, 4
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov word [rbp - 0x80], ax
xor edx, edx
lea rax, [r15 + 5]
mov r8d, 0xe1
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
call fcn.1800218e0
mov rsi, rax
mov qword [rbp - 0x60], rax
jmp 0x1800130b6
cmp esi, 0xffffffc7
jne 0x18001337d
mov r15d, 0x84
mov eax, r15d
sub eax, 0x84
je 0x180013077
cmp eax, 0x72
je case.0x180012b37.31
jmp 0x1800130a4
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
movzx eax, byte [rcx + 4]
lea edx, [r9 + 0x77]
add rcx, 5
mov dword [0x180074e48], eax
call fcn.18003abe0
mov ebx, edi
add r15d, 0x72
cmp r15d, 0x168
jb 0x180013062
mov r15, qword [rsp + 0x40]
dec r12d
cmp r12d, 0xc9
ja 0x180013000
mov r12d, dword [rsp + 0x48]
movzx eax, word [0x180074df0]
cmp r12d, eax
je 0x1800130e4
cmp r12d, 0x1000
jne 0x180013376
mov r15d, dword [rsp + 0x50]
mov r9, qword [rsp + 0x40]
xor r11d, r11d
mov r8, qword [rbp - 0x70]
lea r10d, [r11 + 4]
lea rdx, [0x180000000]
inc r15d
mov dword [rsp + 0x50], r15d
cmp r15d, dword [rsp + 0x54]
jb 0x180012b20
jmp case.0x180012b37.31
mov ebx, r11d
jmp case.0x180012b37.24
mov r8d, 0x21
mov word [rbp - 0x78], di
lea rdx, [rbp - 0x78]
mov rcx, r9
mov r13, r11
call fcn.180021790
movzx eax, ax
mov dword [rsp + 0x48], eax
jmp 0x1800130e9
movzx ecx, byte [r8]
test ecx, ecx
je 0x1800131b4
sub ecx, 1
je 0x180013193
sub ecx, 1
je 0x180013172
cmp ecx, 1
jne case.0x180012b37.24
mov eax, dword [rsp + 0x4c]
lea r15d, [rcx + 0x16]
mov dword [r9 + 0x28], eax
movzx eax, byte [r8 + 3]
and eax, 0xfe
mov dword [r9 + 0x3c], eax
jmp case.0x180012b37.24
mov eax, dword [rsp + 0x4c]
mov r15d, 0x17
mov dword [r9 + 0x24], eax
movzx eax, byte [r8 + 3]
and eax, 0xfe
mov dword [r9 + 0x38], eax
jmp case.0x180012b37.24
mov eax, dword [rsp + 0x4c]
mov r15d, 0x17
mov dword [r9 + 0x20], eax
movzx eax, byte [r8 + 3]
and eax, 0xfe
mov dword [r9 + 0x34], eax
jmp case.0x180012b37.24
mov eax, dword [rsp + 0x4c]
mov dword [r9 + 0xc], eax
movzx eax, byte [r8 + 3]
and eax, 0xfe
mov dword [r9 + 0x30], eax
mov r15d, 0x17
jmp case.0x180012b37.24
cmp r9, 0x400a1000
je 0x180013253
cmp r9, 0x400e0000
je 0x180013253
mov dword [rbp - 0x40], r11d
mov ecx, 0x64
mov eax, ecx
sub eax, 0x5d
je 0x180013253
sub eax, 9
je 0x180013384
sub eax, 5
je 0x18001324d
sub eax, 7
je 0x180013235
cmp eax, 1
jne 0x180013244
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x180013253
mov rax, qword [rbp - 0x40]
nop dword [rax]
cmp qword [rcx + 0x10], rax
jae 0x180013253
mov rcx, qword [rcx + 0x18]
mov qword [rbp - 0x58], rcx
test rcx, rcx
jne 0x180013220
jmp 0x180013253
mov rax, qword [0x1800643ee]
mov rdx, qword [rax + 0x18]
mov qword [rbp - 0x58], rdx
inc ecx
cmp ecx, 0x6b
jb 0x1800131f0
jmp 0x180013253
mov eax, dword [0x180074acc]
cmp byte [r8], 3
jbe 0x1800132c3
mov dword [rbp - 0x38], r11d
mov ecx, 0x64
mov eax, ecx
sub eax, 0x5d
je 0x1800132c3
sub eax, 9
je 0x180013386
sub eax, 5
je 0x1800132bd
sub eax, 7
je 0x1800132a5
cmp eax, 1
jne 0x1800132b4
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1800132c3
mov rax, qword [rbp - 0x38]
nop
cmp qword [rcx + 0x10], rax
jae 0x1800132c3
mov rcx, qword [rcx + 0x18]
mov qword [rbp - 0x50], rcx
test rcx, rcx
jne 0x180013290
jmp 0x1800132c3
mov rax, qword [0x1800643ee]
mov rdx, qword [rax + 0x18]
mov qword [rbp - 0x50], rdx
inc ecx
cmp ecx, 0x6b
jb 0x180013262
jmp 0x1800132c3
mov eax, dword [0x180074acc]
cmp byte [r8 + 2], 2
jb 0x1800130f9
mov dword [rbp - 0x68], r11d
mov ecx, 0x64
nop word [rax + rax]
mov eax, ecx
sub eax, 0x5d
je 0x1800130f9
sub eax, 9
je 0x180013388
sub eax, 5
je 0x18001334b
sub eax, 7
je 0x180013330
cmp eax, 1
jne 0x18001333f
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800130f9
mov rax, qword [rbp - 0x68]
cmp qword [rcx + 0x10], rax
jae 0x1800130f9
mov rcx, qword [rcx + 0x18]
mov qword [rbp - 0x48], rcx
test rcx, rcx
jne 0x180013314
jmp 0x1800130f9
mov rax, qword [0x1800643ee]
mov rdx, qword [rax + 0x18]
mov qword [rbp - 0x48], rdx
inc ecx
cmp ecx, 0x6b
jb 0x1800132e0
jmp 0x1800130f9
mov eax, dword [0x180074acc]
jmp 0x1800130f9
movzx ecx, byte [r8 + 1]
mov eax, r11d
add ecx, ecx
cmp byte [r8 + 2], 1
sete al
or ecx, eax
movzx eax, cl
mov dword [rsp + 0x4c], eax
jmp case.0x180012b37.24
mov eax, edi
jmp 0x180012b83
xor eax, eax
jmp 0x180012b83
jmp 0x180013384
jmp 0x180013386
jmp 0x180013388