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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140197680]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov eax, dword [rdx + 0x3c]
mov rdi, rdx
sub eax, dword [rdx + 0x34]
mov r14, rcx
mov r12d, r8d
mov dword [rsp + 0x54], r12d
test eax, eax
jle 0x14006049a
mov rdx, qword [rcx + 0x7b8]
mov rax, qword [rdx + 0x160]
mov esi, dword [rdx + 0x2d4]
mov dword [rsp + 0x8c], esi
cmp dword [rax + 0x134], 0
je 0x14005fdad
mov ebp, dword [rax + 0x1b0]
jmp 0x14005fdb3
mov ebp, dword [rax + 0x128]
xor r11d, r11d
mov dword [rsp + 0x58], ebp
mov qword [rsp + 0x78], r11
mov r13d, CMapStringToOb::HashKey
lea r15d, [r11 + 1]
test ebp, ebp
je 0x14005ff0c
movzx eax, word [rdx + 0x2d8]
add rcx, 0x1e0
mov edx, r15d
xor eax, dword [rcx]
and eax, 7
xor dword [rcx], eax
call fcn.1400433f8
mov edx, r15d
mov rcx, rax
and dword [rax], 0xfff8000f
or dword [rax], 8
call fcn.1400433f8
mov rcx, qword [r14 + 0x7b8]
xor edx, edx
mov rbx, rax
mov rcx, qword [rcx + 0x160]
call fcn.14005937c
shr eax, 0x18
cmp al, 0x40
jbe 0x14005fe8b
mov rcx, qword [r14 + 0x7b8]
xor edx, edx
mov rcx, qword [rcx + 0x160]
call fcn.14005937c
shr eax, 0x18
cmp al, r13b
ja 0x14005fe8b
lea rdx, [0x14003f788]
lea rcx, [0x14019e28c]
call sub.mfc140u.dll_CFontDialog::GetCharFormat
mov rsi, rax
test rax, rax
je 0x1400604c5
mov rax, qword [r14 + 0x7b8]
xor edx, edx
mov rcx, qword [rax + 0x160]
call fcn.14005937c
shr eax, 0x18
mov edx, r13d
sub edx, eax
mov rcx, rsi
call fcn.14003fdc0
mov esi, dword [rsp + 0x8c]
jmp 0x14005fea0
mov rax, qword [r14 + 0x7b8]
xor edx, edx
mov rcx, qword [rax + 0x160]
call fcn.14005937c
mov edx, eax
mov r9d, 3
shr eax, 0x18
mov r8d, eax
lea ecx, [rax - 0x41]
cmp cl, 0xbd
cmovbe eax, r9d
and dword [rbx], 0xffe7ffff
and eax, r9d
shl eax, 0x13
or dword [rbx], eax
cmp cl, 0xbd
ja 0x14005fed1
mov edx, r13d
sub edx, r8d
xor edx, dword [rbx + 4]
mov rcx, rbx
and edx, 0xffffff
xor dword [rbx + 4], edx
mov edx, r15d
call fcn.1400433f8
mov rax, qword [rdi + 0x70]
mov edx, dword [rax + r12*4]
cmp edx, dword [rdi + 0x1c]
jbe 0x14005ff04
cmp edx, dword [rdi + 0x14]
jne 0x14005ff04
mov r11, r15
mov qword [rsp + 0x78], r15
jmp 0x14005ff0c
xor r11d, r11d
mov qword [rsp + 0x78], r11
mov eax, esi
mov r13d, 4
neg eax
sbb rbx, rbx
neg rbx
add rbx, 2
mov qword [rsp + 0x80], rbx
mov r8d, dword [rdi + 4]
xor eax, eax
cmp r13d, 4
setne al
xor r15d, r15d
mov dword [rsp + 0x6c], r15d
lea esi, [rax + 2]
mov qword [rsp + 0x60], rsi
test r8d, r8d
je 0x140060411
mov ecx, r12d
mov rax, qword [rdi + 0x60]
mov r10, qword [rdi + 0x58]
mov edx, dword [rax + rcx*4]
mov rax, qword [rdi + 0x50]
mov dword [rdi + 0x34], edx
mov eax, dword [rax + rcx*4]
add eax, edx
mov dword [rdi + 0x3c], eax
mov rax, qword [rdi + 0x68]
mov ecx, dword [rax + r15*4]
mov rax, qword [rdi + 0x80]
mov dword [rdi + 0x30], ecx
add ecx, dword [r10 + r15*4]
mov dword [rdi + 0x38], ecx
mov ecx, r12d
imul ecx, r8d
add ecx, r15d
mov qword [rsp + 0x90], rcx
mov r8, qword [rax + rcx*8]
lea rdx, [rcx + rcx]
test r8, r8
je 0x14005ffc2
lea r12, [rdi + 0x88]
mov rax, qword [r12]
movzx ecx, word [rdx + rax]
test r13d, ecx
jbe 0x14005ffc2
mov ecx, 1
mov dword [rsp + 0x68], ecx
jmp 0x140060013
xor ecx, ecx
lea rax, [rdi + 0x88]
mov dword [rsp + 0x68], ecx
mov r12, rax
test ebp, ebp
je 0x1400603ef
test r11, r11
je 0x14005fff5
cmp r13d, 4
je 0x14005fff5
mov rax, qword [rax]
mov r11d, 0x1000
test word [rdx + rax], r11w
ja 0x140060013
cmp rsi, rbx
jne 0x1400603ef
mov rax, qword [r12]
mov r11d, 0x200
test word [rdx + rax], r11w
jbe 0x1400603ef
mov eax, dword [r10 + r15*4]
lea ebp, [r15 + 1]
mov dword [rsp + 0x88], ebp
mov dword [rsp + 0x50], eax
test ecx, ecx
je 0x140060042
test dword [r8 + 8], 0x100
je 0x1400603eb
mov rax, qword [r8 + 0x30]
lea rsi, [rax + rsi*8]
jmp 0x140060049
lea rsi, [r14 + 0x1e0]
xor eax, eax
mov qword [rsp + 0x70], rsi
cmp dword [rdi + 0xa0], eax
lea r15, [rdi + 0xd0]
mov rdx, r15
mov rcx, rsi
sete al
add r8, 0x10
xor r9d, r9d
mov dword [rsp + 0x20], eax
call fcn.140042450
mov ecx, dword [rdi + 4]
mov dword [rsp + 0x5c], eax
cmp ebp, ecx
jae 0x1400602fa
test eax, eax
je 0x1400601e2
imul ecx, dword [rsp + 0x54]
mov rax, qword [rdi + 0x80]
add ecx, ebp
mov r8, qword [rax + rcx*8]
lea rsi, [rcx + rcx]
test r8, r8
je 0x1400600bc
mov rax, qword [r12]
movzx ecx, word [rsi + rax]
test r13d, ecx
jbe 0x1400600bc
mov ebp, 1
jmp 0x1400600be
xor ebp, ebp
cmp dword [rsp + 0x68], 0
jne 0x140060110
cmp dword [rsp + 0x58], 0
je 0x140060110
cmp qword [rsp + 0x78], 0
je 0x1400600e9
cmp r13d, 4
je 0x1400600e9
mov rax, qword [r12]
mov ecx, 0x1000
test word [rsi + rax], cx
ja 0x140060104
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
jne 0x140060115
mov rax, qword [r12]
mov edx, 0x200
test word [rsi + rax], dx
jbe 0x140060115
jmp 0x140060109
mov rcx, qword [rsp + 0x60]
mov eax, 1
jmp 0x140060117
mov rcx, qword [rsp + 0x60]
xor eax, eax
test ebp, ebp
jne 0x14006012c
test eax, eax
je 0x1400602f1
lea rcx, [r14 + 0x1e0]
jmp 0x140060134
mov rax, qword [r8 + 0x30]
lea rcx, [rax + rcx*8]
xor eax, eax
lea rbx, [rdi + 0xdc]
cmp dword [rdi + 0xa0], eax
mov rdx, rbx
sete al
add r8, 0x10
xor r9d, r9d
mov dword [rsp + 0x20], eax
call fcn.140042450
test eax, eax
je 0x1400602e9
mov r8d, InitCommonControls
mov rdx, rbx
mov rcx, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400602e9
mov rcx, qword [r12]
test ebp, ebp
je 0x14006018f
movzx eax, r13w
not ax
and ax, word [rcx + rsi]
jmp 0x14006019b
movzx eax, word [rcx + rsi]
mov edx, 0xfdff
and ax, dx
mov ebp, dword [rsp + 0x88]
mov r8d, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov word [rcx + rsi], ax
mov rax, qword [rdi + 0x58]
mov ecx, dword [rdi + 4]
add r8d, dword [rax + rbp*4]
inc ebp
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x88], ebp
cmp ebp, ecx
jb 0x14006008d
mov rsi, qword [rsp + 0x70]
mov eax, dword [rsp + 0x5c]
jmp 0x1400602ff
mov r15, qword [rsp + 0x80]
imul ecx, dword [rsp + 0x54]
mov rax, qword [rdi + 0x80]
add ecx, ebp
mov rdx, qword [rax + rcx*8]
lea rbx, [rcx + rcx]
test rdx, rdx
je 0x140060219
mov rax, qword [r12]
movzx ecx, word [rbx + rax]
test r13d, ecx
jbe 0x140060219
mov esi, 1
jmp 0x14006021b
xor esi, esi
cmp dword [rsp + 0x68], 0
jne 0x14006026f
cmp dword [rsp + 0x58], 0
je 0x14006026f
cmp qword [rsp + 0x78], 0
je 0x140060246
cmp r13d, 4
je 0x140060246
mov rax, qword [r12]
mov ecx, 0x1000
test word [rbx + rax], cx
ja 0x140060263
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
jne 0x140060274
mov rax, qword [r12]
mov r8d, 0x200
test word [rbx + rax], r8w
jbe 0x140060274
jmp 0x140060268
mov rcx, qword [rsp + 0x60]
mov eax, 1
jmp 0x140060276
mov rcx, qword [rsp + 0x60]
xor eax, eax
test esi, esi
jne 0x140060287
test eax, eax
je 0x1400602e4
lea rcx, [r14 + 0x1e0]
jmp 0x14006028f
mov rax, qword [rdx + 0x30]
lea rcx, [rax + rcx*8]
mov rdx, qword [rsp + 0x70]
mov r8d, 8
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400602e4
mov rcx, qword [r12]
test esi, esi
je 0x1400602b8
movzx eax, r13w
not ax
and ax, word [rcx + rbx]
jmp 0x1400602c4
movzx eax, word [rcx + rbx]
mov edx, 0xfdff
and ax, dx
mov edx, dword [rsp + 0x50]
mov word [rcx + rbx], ax
mov rax, qword [rdi + 0x58]
mov ecx, dword [rdi + 4]
add edx, dword [rax + rbp*4]
inc ebp
mov dword [rsp + 0x50], edx
cmp ebp, ecx
jb 0x1400601ea
mov rbx, r15
jmp 0x1400602f1
mov rbx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x5c]
mov rsi, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x50]
cmp dword [rsp + 0x68], 0
jne 0x140060378
test eax, eax
jne 0x140060378
mov rax, qword [r14]
mov ecx, dword [rdi + 0xa8]
mov r12d, dword [rsp + 0x54]
add ecx, r12d
cmp dword [rsp + 0x8c], 0
mov r10, qword [rax + 0x9f8]
je 0x140060335
mov r9d, dword [rdi + 0x3c]
dec r9d
jmp 0x140060339
mov r9d, dword [rdi + 0x34]
and dword [rsp + 0x40], 0
mov rdx, qword [rdi + 0xb8]
mov dword [rsp + 0x38], ecx
mov rcx, r14
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r8d
mov r8d, dword [rdi + 0x30]
call r10
mov rsi, qword [rsp + 0x60]
mov r15d, dword [rsp + 0x6c]
mov ebp, dword [rsp + 0x58]
jmp 0x1400603f4
mov ecx, dword [rdi + 0x30]
mov rdx, rsi
mov eax, dword [rdi + 0x34]
mov r9d, dword [rsp + 0x60]
mov dword [rsp + 0x9c], eax
lea eax, [rcx + r8]
mov dword [rsp + 0x98], ecx
mov rcx, qword [rsp + 0x90]
lea r8, [rsp + 0x98]
mov dword [rsp + 0xa0], eax
mov eax, dword [rdi + 0x3c]
mov dword [rsp + 0xa4], eax
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rdi + 0xb8]
add rcx, 0x10
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14005dbc8
mov rsi, qword [rsp + 0x60]
mov r15d, dword [rsp + 0x6c]
mov ebp, dword [rsp + 0x58]
mov r12d, dword [rsp + 0x54]
mov r8d, dword [rdi + 4]
inc r15d
mov r11, qword [rsp + 0x78]
mov dword [rsp + 0x6c], r15d
mov ecx, r12d
cmp r15d, r8d
jb 0x14005ff51
test r11, r11
je 0x140060485
mov rax, qword [r14 + 0x7b8]
lea rbx, [r14 + 0x1e0]
mov edx, 1
mov rcx, qword [rax + 0x160]
call fcn.14005937c
mov r9d, 3
mov ecx, eax
shr ecx, 0x18
mov r8d, ecx
lea edx, [rcx - 0x41]
cmp dl, 0xbd
cmovbe ecx, r9d
and dword [rbx], 0xffe7ffff
and ecx, r9d
shl ecx, 0x13
or dword [rbx], ecx
cmp dl, 0xbd
ja 0x140060468
mov eax, CMapStringToOb::HashKey
sub eax, r8d
xor eax, dword [rbx + 4]
mov edx, 1
and eax, 0xffffff
mov rcx, rbx
xor dword [rbx + 4], eax
call fcn.1400433f8
mov r11, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
add r13d, r13d
cmp r13d, 8
jle 0x14005ff28
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14003c6a0
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call sub.mfc140u.dll_AfxRegDeleteKey
int3