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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov r11d, dword [r8 + 0x1c]
mov rdi, rcx
dec dword [rcx + 0x44]
mov r13d, r9d
mov eax, dword [rcx + 0x44]
xor r9d, r9d
mov rbx, qword [rcx + 0x10]
mov rbp, rdx
mov rcx, qword [rsp + 0xd0]
mov r15, r8
mov r14, qword [r8]
mov esi, r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x34], r11d
mov eax, dword [rcx + 4]
movzx r12d, byte [rcx]
mov dword [rsp + 0x38], eax
mov rax, qword [rdx + 0x20]
mov edx, dword [r8 + 0x14]
add rax, 8
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], rax
test edx, edx
je 0x1401006e3
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [r8 + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x14010066b
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, 0xc
call fcn.1401022b0
mov r11d, dword [rsp + 0x34]
jmp 0x140100699
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], InitCommonControls
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov edx, r11d
mov rcx, rbx
call fcn.140153090
mov rcx, qword [rbx + 0x18]
mov edx, dword [r15 + 0x14]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1401006c3
mov r8d, edx
mov rdx, rbx
call fcn.140110d30
jmp 0x1401006d3
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r11d, dword [rsp + 0x34]
xor r9d, r9d
mov rcx, qword [rsp + 0xd0]
mov r15d, dword [r15 + 0xc]
mov dword [rsp + 0x30], r15d
cmp r12d, 9
je 0x14010076a
cmp r12b, 0xd
je 0x14010076a
cmp r12b, 0xa
je 0x14010076a
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x140100711
inc dword [rdi + 0x38]
mov r10d, dword [rdi + 0x38]
xor cl, cl
jmp 0x140100721
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov r10d, dword [rdi + rcx*4 + 0xcc]
lea eax, [r12 - 0xc]
mov dword [rsp + 0xc8], r10d
test al, 0xfd
je 0x140100745
mov edx, r13d
mov rcx, rdi
call fcn.14012ff50
mov r12d, eax
xor r9d, r9d
jmp 0x140100776
test cl, cl
jne 0x140100755
inc dword [rdi + 0x38]
mov r13d, r9d
mov r12d, dword [rdi + 0x38]
jmp 0x140100776
dec cl
mov r13d, r9d
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xcc]
jmp 0x140100776
mov r12d, dword [rcx + 8]
mov dword [rsp + 0xc8], r9d
mov rcx, qword [rsp + 0xc0]
mov r14d, dword [r14]
sub r14d, dword [rcx + 8]
test byte [rcx + 0x24], 1
je 0x14010093c
mov r15d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
mov dword [rsp + 0x3c], r15d
lea eax, [r15 + 1]
mov dword [rdi + 0x34], eax
cmp dword [rcx + 0x14], esi
je 0x1401007b9
mov edx, reloc.COMCTL32.dll_InitCommonControls
mov rcx, rbx
call fcn.140149780
mov esi, eax
movsxd rcx, dword [rbx + 0x90]
lea edx, [r14 + 1]
add edx, r13d
cmp dword [rbx + 0x94], ecx
jg 0x1401007eb
mov dword [rsp + 0x20], edx
mov r9d, ebp
mov edx, 0x72
mov r8d, r15d
mov rcx, rbx
call fcn.1401022b0
xor r8d, r8d
jmp 0x14010081b
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x72
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
test esi, esi
je 0x140100853
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x61], 0
je 0x140100837
lea rax, [0x14022fa30]
jmp 0x140100850
lea eax, [rdx - 1]
test esi, esi
cmovns eax, esi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x140100882
mov r9d, dword [rsp + 0x34]
mov edx, 0x23
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov r8d, dword [rsp + 0x30]
call fcn.1401022b0
mov esi, eax
jmp 0x1401008b7
mov edx, dword [rsp + 0x30]
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8], 0x23
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0xb8]
mov rcx, rbx
mov r8d, dword [rsp + 0x40]
mov edx, dword [rax + 0xc]
call fcn.1400f3900
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140100903
mov r8d, dword [rsp + 0x30]
mov r9d, ebp
mov edx, 0x7d
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call fcn.1401022b0
xor r10d, r10d
mov eax, r10d
jmp 0x1401009b3
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
xor r10d, r10d
mov dword [rax + rcx*8], 0x7d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r10
mov eax, r10d
jmp 0x1401009b3
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x140100967
mov dword [rsp + 0x20], r9d
mov r8d, r15d
mov r9d, r11d
mov edx, 0x24
mov rcx, rbx
call fcn.1401022b0
mov esi, eax
jmp 0x140100996
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r11d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
mov edx, dword [rbp + 0xc]
call fcn.1400f3900
mov eax, 1
mov dword [rsp + 0x3c], r15d
xor r10d, r10d
mov r9, qword [rsp + 0x50]
lea ecx, [rsi + 1]
mov dword [rsp + 0xb8], ecx
lea r8d, [rax + r14]
mov dword [rsp + 0x44], r8d
lea esi, [r8 - 1]
test r13d, r13d
jle 0x1401009f6
lea rcx, [r9 + 0x18]
mov edx, r13d
nop dword [rax + rax]
cmp word [rcx], 0
lea eax, [rsi + 1]
lea rcx, [rcx + 0x20]
cmovne eax, esi
mov esi, eax
sub rdx, 1
jne 0x1401009e0
lea eax, [r13 - 1]
movsxd r14, eax
test eax, eax
js 0x140100aa9
mov edi, dword [rsp + 0x3c]
lea ebp, [rax + r12]
mov rax, r14
lea r15, [r9 + 0x18]
shl rax, 5
add r15, rax
nop dword [rax + rax]
movzx eax, word [r15]
test ax, ax
je 0x140100a30
movzx edx, ax
dec edx
jmp 0x140100a34
mov edx, esi
dec esi
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140100a5f
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x59
mov r8d, edi
mov rcx, rbx
call fcn.1401022b0
xor r10d, r10d
jmp 0x140100a8b
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r10
dec ebp
sub r15, 0x20
sub r14, 1
jns 0x140100a20
mov rdi, qword [rsp + 0xb0]
mov r15d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x48]
mov ecx, r14d
sub ecx, 0xa
je 0x140100b0d
sub ecx, 1
je 0x140100d15
sub ecx, 1
je 0x140100bca
cmp ecx, 2
je 0x140100bca
mov rsi, qword [rsp + 0xd0]
movsxd rcx, dword [rbx + 0x90]
cmp r14b, 9
jne 0x140100b79
mov edx, dword [rsi + 8]
cmp dword [rbx + 0x94], ecx
jg 0x140100b49
mov r8d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x50
mov r9d, r13d
mov rcx, rbx
call fcn.1401022b0
mov ebp, dword [rsp + 0xc8]
xor esi, esi
test ebp, ebp
je 0x140100eb3
cmp r14b, 0xb
jne 0x140100e83
cmp r13d, 1
je 0x140100e83
cmp r13d, dword [rdi + 0x28]
jle 0x140100e9e
mov dword [rdi + 0x28], r13d
mov dword [rdi + 0x2c], r12d
jmp 0x140100e9e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x50
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x140100b0d
mov edx, dword [rsi + 4]
cmp dword [rbx + 0x94], ecx
jg 0x140100b98
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
lea edx, [r9 + 0xe]
jmp 0x140100b05
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], InitCommonControls
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x140100b0d
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140100bf6
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, r15d
mov edx, 0x59
mov rcx, rbx
call fcn.1401022b0
xor r10d, r10d
jmp 0x140100c25
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x38]
cmp dword [rbx + 0x94], ecx
jg 0x140100c64
mov r9d, dword [rsp + 0xc8]
mov edx, 0x78
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1401022b0
mov edx, dword [rsp + 0xc8]
xor r10d, r10d
mov r8d, dword [rsp + 0x38]
jmp 0x140100c99
mov edx, dword [rsp + 0xc8]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x78
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140100cbe
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov edx, 0x79
mov rcx, rbx
call fcn.1401022b0
jmp 0x140100cec
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x79
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x140100b0d
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x140100b0d
mov rsi, qword [rsp + 0xd0]
movsxd rdx, dword [rbx + 0x90]
mov ebp, dword [rsp + 0xc8]
mov rsi, qword [rsi + 0x10]
cmp dword [rbx + 0x94], edx
jg 0x140100d52
mov r9d, r13d
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x5b
mov rcx, rbx
call fcn.1401022b0
mov edx, eax
jmp 0x140100d80
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5b
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r10
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
je 0x140100d9c
cmp r13d, 0xfffffff4
je 0x140100dfa
mov r8, rsi
mov edx, r13d
call fcn.1400ff1f0
jmp 0x140100dfa
test edx, edx
jns 0x140100da8
mov edx, dword [rbx + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rax + rcx*8]
test r13d, r13d
jns 0x140100dec
cmp byte [rdx + 1], 0
jne 0x140100dec
cmp r13d, 0xfffffffd
jne 0x140100dd4
mov dword [rdx + 0x10], esi
mov byte [rdx + 1], r13b
jmp 0x140100dfa
test rsi, rsi
je 0x140100dfa
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], r13b
cmp r13d, 0xfffffff4
jne 0x140100dfa
inc dword [rsi + 0x18]
jmp 0x140100dfa
mov r9d, r13d
mov r8, rsi
mov rcx, rbx
call fcn.140164c00
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x38]
cmp dword [rbx + 0x94], edx
jg 0x140100e29
mov r9d, ebp
mov dword [rsp + 0x20], r12d
mov edx, 0x83
mov rcx, rbx
call fcn.1401022b0
mov edx, eax
xor esi, esi
jmp 0x140100e59
lea rcx, [rdx + rdx*2]
xor esi, esi
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x83
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x140100b16
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r13d
jmp 0x140100b16
test r12d, r12d
je 0x140100e9e
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x140100e9e
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], r12d
inc byte [rdi + 0x1f]
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x140100eb3
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], ebp
inc byte [rdi + 0x1f]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x40]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x140100ed2
mov r8d, edx
mov rdx, rbx
call fcn.140110d30
jmp 0x140100ee2
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rdi, qword [rsp + 0xc0]
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
test byte [rdi + 0x24], 1
je 0x140100f41
cmp eax, ecx
jg 0x140100f24
mov r9d, dword [rsp + 0xb8]
mov edx, 3
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1401022b0
xor r8d, r8d
jmp 0x140100fa3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 3
jmp 0x140100f83
cmp eax, ecx
jg 0x140100f68
mov r9d, dword [rsp + 0xb8]
mov edx, 5
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1401022b0
xor r8d, r8d
jmp 0x140100fa3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 5
mov edx, dword [rsp + 0x30]
xor r8d, r8d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xb8]
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], r8d
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x10]
test edx, edx
je 0x140100fff
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140100fd2
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x41]
call fcn.1401022b0
jmp 0x140100fff
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x41
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x34]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x14010101e
mov r8d, edx
mov rdx, rbx
call fcn.140110d30
jmp 0x14010102e
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret