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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rbx, qword [rcx + 0x10]
xor r15b, r15b
xor r12d, r12d
test rbx, rbx
mov r13d, r9d
mov rdi, rdx
mov r14, rcx
jne 0x14002cbcc
call fcn.140019700
test rax, rax
mov rbx, rax
mov qword [r14 + 0x10], rax
je 0x14002cbbe
mov rcx, qword [rax + 0x30]
movsxd rdi, dword [rax + 0x3c]
cmp dword [rcx + 0x60], edi
jg 0x14002cb84
lea edx, [r12 + 1]
mov rcx, rax
call fcn.1400214c0
test eax, eax
jne 0x14002cbb9
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
lea rcx, [rdi + rdi*2]
mov rdi, qword [rsp + 0x68]
mov byte [rax + rcx*8], 0x9e
mov byte [rax + rcx*8 + 3], r12b
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov byte [rax + rcx*8 + 1], r12b
jmp 0x14002cbbe
mov rdi, qword [rsp + 0x68]
cmp qword [r14 + 0x1b8], r12
jne 0x14002cbcc
mov byte [r14 + 0x23], 1
mov rdi, qword [rdi + 0x10]
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x20], rsi
test rdi, rdi
je 0x14002cd00
mov rsi, qword [rsp + 0x88]
mov r14, qword [rsp + 0x68]
mov ebp, dword [rsi]
test ebp, ebp
je 0x14002cce6
cmp qword [rdi + 0x48], 0
mov r15b, 1
je 0x14002cc54
mov rax, qword [rbx + 0x30]
movsxd r12, dword [rbx + 0x3c]
cmp dword [rax + 0x60], r12d
jg 0x14002cc23
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x14002cc54
add dword [rbx + 0x3c], 1
mov rcx, qword [rbx + 8]
lea rdx, [r12 + r12*2]
lea eax, [r12 + 2]
mov byte [rcx + rdx*8], 0x4c
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], eax
xor eax, eax
mov dword [rcx + rdx*8 + 4], ebp
mov dword [rcx + rdx*8 + 0xc], eax
mov qword [rcx + rdx*8 + 0x10], rax
mov byte [rcx + rdx*8 + 1], al
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
mov r12d, dword [rsi]
cmp dword [rax + 0x60], ebp
jg 0x14002cc75
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x14002cca4
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
lea rcx, [rbp + rbp*2]
xor edx, edx
mov byte [rax + rcx*8], 0x6f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
xor al, al
cmp dword [rsp + 0xa0], 0
movzx edx, al
mov eax, InitCommonControls
cmovne edx, eax
mov eax, dword [rdi + 0x5c]
and al, 3
cmp al, 2
jne 0x14002cccc
test byte [r14 + 0x3e], 0x20
je 0x14002cccc
or dl, 1
test dl, dl
je 0x14002cce6
mov r8, qword [rbx + 8]
test r8, r8
je 0x14002cce6
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
mov rdi, qword [rdi + 0x28]
add r13d, 1
add rsi, 4
test rdi, rdi
jne 0x14002cbf0
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
test byte [r13 + 0x3e], 0x20
jne 0x14002d0d7
mov ebp, dword [rsp + 0x80]
movzx eax, byte [r14 + 0x1f]
add ebp, 1
test al, al
jne 0x14002cd33
add dword [r14 + 0x54], 1
mov r12d, dword [r14 + 0x54]
mov dword [rsp + 0x68], r12d
jmp 0x14002cd46
sub al, 1
movzx eax, al
mov byte [r14 + 0x1f], al
mov r12d, dword [r14 + rax*4 + 0x24]
mov dword [rsp + 0x68], r12d
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
movsx esi, word [r13 + 0x36]
cmp dword [rax + 0x60], edi
jg 0x14002cd69
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x14002cd99
mov rax, qword [rbx + 8]
add dword [rbx + 0x3c], 1
lea rcx, [rdi + rdi*2]
mov byte [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], 0
mov byte [rax + rcx*8 + 1], 0
test r15b, r15b
jne 0x14002cf56
mov rsi, qword [r13 + 0x28]
test rsi, rsi
jne 0x14002ce78
movsx eax, word [r13 + 0x36]
mov rbp, qword [rbx]
add eax, 1
movsxd rdi, eax
je 0x14002ce1b
cmp rdi, 0x7fffff00
jae 0x14002ce1b
cmp dword [0x1400bf010], esi
je 0x14002ce0e
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14002cde2
call qword [0x1400bf098]
lea rdx, [rsp + 0x60]
mov ecx, edi
call fcn.140011830
mov rcx, qword [0x1400c52b8]
test rcx, rcx
je 0x14002ce07
call qword [0x1400bf0a8]
mov rsi, qword [rsp + 0x60]
jmp 0x14002ce1d
mov rsi, qword [rsp + 0x60]
jmp 0x14002ce1d
mov ecx, edi
call qword [0x1400bf038]
mov rsi, rax
jmp 0x14002ce1d
xor esi, esi
test rsi, rsi
jne 0x14002ce2b
mov byte [rbp + 0x51], 1
jmp 0x14002cf56
xor edx, edx
cmp word [r13 + 0x36], dx
jle 0x14002ce61
mov rdi, rsi
xor r8d, r8d
nop
nop
mov rax, qword [r13 + 8]
add edx, 1
add r8, 0x30
movzx ecx, byte [r8 + rax - 7]
add rdi, 1
mov byte [rdi - 1], cl
movsx eax, word [r13 + 0x36]
cmp edx, eax
jl 0x14002ce40
movsxd rax, edx
mov byte [rax + rsi], 0
sub rax, 1
js 0x14002ce74
cmp byte [rax + rsi], 0x41
je 0x14002ce64
mov qword [r13 + 0x28], rsi
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea r12, [rcx - 1]
and r12d, 0x3fffffff
je 0x14002cf56
mov rdi, qword [rbx + 8]
mov rcx, qword [rbx]
test rdi, rdi
je 0x14002cf45
cmp byte [rcx + 0x51], al
jne 0x14002cf45
mov eax, dword [rbx + 0x3c]
sub eax, 1
cdqe
lea rbp, [rax + rax*2]
movsx edx, byte [rdi + rbp*8 + 1]
mov r8, qword [rdi + rbp*8 + 0x10]
call fcn.1400255f0
cmp r12d, 0xfffffff2
mov qword [rdi + rbp*8 + 0x10], 0
jne 0x14002cee5
mov dword [rdi + rbp*8 + 0x10], esi
mov byte [rdi + rbp*8 + 1], r12b
jmp 0x14002cf56
test rsi, rsi
jne 0x14002cef6
mov qword [rdi + rbp*8 + 0x10], rsi
mov byte [rdi + rbp*8 + 1], sil
jmp 0x14002cf56
cmp r12d, 0xfffffffa
jne 0x14002cf08
mov qword [rdi + rbp*8 + 0x10], rsi
mov byte [rdi + rbp*8 + 1], r12b
jmp 0x14002cf56
cmp r12d, 0xfffffff6
jne 0x14002cf1a
mov qword [rdi + rbp*8 + 0x10], rsi
mov byte [rdi + rbp*8 + 1], r12b
jmp 0x14002cf56
test r12d, r12d
jns 0x14002cf2b
mov qword [rdi + rbp*8 + 0x10], rsi
mov byte [rdi + rbp*8 + 1], r12b
jmp 0x14002cf56
mov rcx, qword [rbx]
movsxd r8, r12d
mov rdx, rsi
call fcn.14001b2f0
mov byte [rdi + rbp*8 + 1], 0xff
mov qword [rdi + rbp*8 + 0x10], rax
jmp 0x14002cf56
cmp r12d, 0xfffffff6
je 0x14002cf56
mov r8, rsi
mov edx, r12d
call fcn.1400255f0
mov ebp, dword [rsp + 0x80]
movsx eax, word [r13 + 0x36]
lea rcx, [r14 + 0x94]
lea r9d, [rbp + 1]
mov edi, 0xa
lea r8d, [rax + r9 - 1]
mov edx, dword [rcx]
cmp edx, r9d
jl 0x14002cfa9
cmp edx, r8d
jg 0x14002cfa9
cmp byte [rcx - 6], 0
je 0x14002cfa3
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x14002cf9f
movzx eax, al
mov dword [r14 + rax*4 + 0x24], edx
add byte [r14 + 0x1f], 1
mov byte [rcx - 6], 0
mov dword [rcx], 0
add rcx, 0x14
sub rdi, 1
jne 0x14002cf77
cmp byte [r14 + 0x1e], dil
jne 0x14002cfd2
cmp dword [rsp + 0x90], 0
mov edi, 2
mov eax, 4
cmovne edi, eax
or dil, 1
cmp dword [rsp + 0x98], 0
je 0x14002cfe0
or dil, 8
cmp dword [rsp + 0xa0], 0
je 0x14002cfee
or dil, 0x10
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x14002d00c
mov edx, 1
mov rcx, rbx
call fcn.1400214c0
test eax, eax
jne 0x14002d044
add dword [rbx + 0x3c], 1
mov rax, qword [rbx + 8]
mov edx, dword [rsp + 0x70]
lea rcx, [rsi + rsi*2]
xor r15d, r15d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x68]
mov byte [rax + rcx*8], 0x54
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r15
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], r15b
jmp 0x14002d047
xor r15d, r15d
cmp byte [r14 + 0x1e], 0
jne 0x14002d0c1
mov rsi, qword [rbx + 8]
mov r12, qword [r13]
mov rcx, qword [rbx]
test rsi, rsi
je 0x14002d0b7
cmp byte [rcx + 0x51], 0
jne 0x14002d0b7
mov eax, dword [rbx + 0x3c]
sub eax, 1
cdqe
lea rbp, [rax + rax*2]
movsx edx, byte [rsi + rbp*8 + 1]
mov r8, qword [rsi + rbp*8 + 0x10]
call fcn.1400255f0
test r12, r12
mov qword [rsi + rbp*8 + 0x10], r15
jne 0x14002d095
mov qword [rsi + rbp*8 + 0x10], r15
mov byte [rsi + rbp*8 + 1], r12b
jmp 0x14002d0c1
mov rcx, r12
call fcn.1400083e0
mov rcx, qword [rbx]
mov rdx, r12
movsxd r8, eax
call fcn.14001b2f0
mov byte [rsi + rbp*8 + 1], 0xff
mov qword [rsi + rbp*8 + 0x10], rax
jmp 0x14002d0c1
mov r8, r12
xor edx, edx
call fcn.1400255f0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14002d0d7
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], dil
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x78]
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret