Function at 0x1400285d0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x14009b3f8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xa0]
lea r13, [0x1400a7488]
xor r14d, r14d
mov qword [rsp + 0x60], r8
test rax, rax
mov dword [0x1400a7488], r14d
mov ecx, 0xffffff
mov qword [rsp + 0x68], rdx
cmovne r13, rax
mov dword [0x1400a748c], ecx
mov ebx, r9d
mov qword [rsp + 0x58], r13
cmp dword [r13 + 4], r14d
jne 0x14002864f
mov eax, dword [r13]
cmp eax, 0xffff00
je 0x140028648
cmp eax, 0xff00
jne 0x14002864b
mov ecx, r14d
mov dword [r13 + 4], ecx
mov edi, ebx
mov qword [rsp + 0x180], rsi
and edi, 0x8000
mov eax, ebx
mov dword [rsp + 0x3c], edi
mov r12d, 1
and eax, 0x80000
je 0x140028680
test edi, edi
jne 0x140028680
mov esi, r14d
mov dword [rsp + 0x38], r14d
jmp 0x140028698
mov dword [rsp + 0x38], r12d
mov esi, r12d
test edi, edi
je 0x140028698
cmp qword [0x1400a7448], r14
mov ecx, r12d
jne 0x14002869b
mov ecx, r14d
test edi, edi
jne 0x1400286b0
test eax, eax
jne 0x1400286b0
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400290ea
mov qword [r13], 0xc0c0c0
test ecx, ecx
je 0x1400286d3
mov r9, rdx
xor r8d, r8d
mov edx, 0x8001
xor ecx, ecx
call fcn.140027a90
jmp 0x1400290ea
test eax, eax
je 0x140028726
and dword [r13 + 0x34], 0xfffffffe
mov r9, r13
mov edx, 0x111
xor ecx, ecx
mov r8d, 0x70002
call fcn.140027a90
mov rcx, qword [0x1400a7448]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14002870e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400a7448]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400a7448], r14
test esi, esi
je 0x140028752
mov ecx, dword [r13 + 0x34]
mov eax, ecx
or ecx, r12d
and eax, 0xfffffffe
test edi, edi
cmove ecx, eax
mov dword [r13 + 0x34], ecx
mov ecx, 0x400
call fcn.140030420
mov qword [rsp + 0x50], rax
mov rsi, rax
test rax, rax
jne 0x140028759
xor eax, eax
jmp 0x1400290ea
xor edx, edx
mov qword [rsp + 0x140], r15
mov r8d, 0x400
mov rcx, rax
call fcn.140035c20
xor edx, edx
mov word [rbp - 0x80], r14w
lea rcx, [rbp - 0x78]
lea r8d, [rdx + 0x78]
call fcn.140035c20
mov eax, ebx
mov dword [rsp + 0x30], r14d
and eax, 7
lea r8, [0x14009fd40]
mov r15d, r14d
mov r10d, 0xc9
mov r9d, 0xa
cmp eax, 6
ja case.0x1400287bf.2
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x29118]
add rcx, rdx
jmp rcx
test edi, edi
jne case.0x1400287bf.2
mov eax, r14d
mov rcx, r8
bt ebx, 0x12
jae 0x1400287e8
cmp word [rcx], r10w
je 0x140028854
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x1400287d5
jmp 0x140028854
bt ebx, 0x11
jae 0x140028843
mov edx, 0xca
cmp word [rcx], dx
je 0x140028803
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x1400287f3
mov rcx, qword [r13 + 0x10]
cmp eax, r9d
cmovae eax, r9d
movsxd rdx, eax
lea rax, str.ERROR:_Caller_must_provide_this_in_sDialogData.m_pUserKeyLabel____
shl rdx, 5
test rcx, rcx
cmovne rax, rcx
mov qword [rdx + r8 + 8], rax
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x140028836
mov qword [rdx + r8 + 0x10], rax
movups xmm0, xmmword [rdx + r8]
movups xmm1, xmmword [rdx + r8 + 0x10]
jmp 0x14002886c
cmp word [rcx], r12w
je 0x140028854
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028843
cmp eax, r9d
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm1, xmmword [rax + r8 + 0x10]
movups xmm0, xmmword [rax + r8]
movaps xmmword [rbp - 0x80], xmm0
mov r15d, r12d
movaps xmmword [rbp - 0x70], xmm1
mov dword [rsp + 0x30], r12d
jmp case.0x1400287bf.2
mov eax, r14d
mov rcx, r8
cmp word [rcx], r12w
je 0x140028898
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028887
cmp eax, r9d
mov rcx, r8
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
mov eax, r14d
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
nop
cmp word [rcx], 2
je 0x1400288d1
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x1400288c0
cmp eax, r9d
mov r15d, 2
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
jmp 0x140028b07
mov eax, r14d
mov rcx, r8
cmp word [rcx], 6
je 0x140028913
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028902
cmp eax, r9d
mov rcx, r8
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
mov eax, r14d
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
nop dword [rax]
cmp word [rcx], 7
je 0x140028951
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028940
cmp eax, r9d
mov rcx, r8
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
mov eax, r14d
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
nop word [rax + rax]
cmp word [rcx], 2
je 0x140028ae1
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028980
jmp 0x140028ae1
mov eax, r14d
mov rcx, r8
cmp word [rcx], 6
je 0x1400289b1
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x1400289a0
cmp eax, r9d
mov rcx, r8
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
mov eax, r14d
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
nop word [rax + rax]
cmp word [rcx], 7
je 0x1400288d1
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x1400289e0
jmp 0x1400288d1
mov eax, r14d
mov rcx, r8
cmp word [rcx], 4
je 0x140028a11
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028a00
cmp eax, r9d
mov rcx, r8
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
mov eax, r14d
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
nop word [rax + rax]
cmp word [rcx], 2
je 0x1400288d1
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028a40
jmp 0x1400288d1
mov eax, r14d
mov rcx, r8
cmp word [rcx], 2
je 0x140028a71
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028a60
cmp eax, r9d
mov rcx, r8
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
mov eax, r14d
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm1
cmp word [rcx], r9w
je 0x140028aa8
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028a97
cmp eax, r9d
mov rcx, r8
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm0, xmmword [rax + r8]
movups xmm1, xmmword [rax + r8 + 0x10]
mov eax, r14d
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
nop
cmp word [rcx], 0xb
je 0x140028ae1
inc eax
add rcx, 0x20
cmp eax, 0xb
jb 0x140028ad0
cmp eax, r9d
mov r15d, 3
cmovae eax, r9d
cdqe
shl rax, 5
movups xmm1, xmmword [rax + r8 + 0x10]
movups xmm0, xmmword [rax + r8]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov dword [rsp + 0x30], r15d
movzx eax, word [rbp - 0x80]
mov dword [r13 + 0x2c], eax
mov eax, ebx
and eax, 0xf00
je 0x140028b46
cmp eax, 0x100
je 0x140028b3e
cmp eax, 0x200
je 0x140028b38
cmp eax, 0x300
jne 0x140028b46
movzx eax, word [rbp - 0x20]
jmp 0x140028b42
movzx eax, word [rbp - 0x40]
jmp 0x140028b42
movzx eax, word [rbp - 0x60]
mov dword [r13 + 0x2c], eax
bt ebx, 0x1c
jae 0x140028cd2
or dword [r13 + 0x34], 0x10000000
xor ecx, ecx
movzx eax, word [0x14008e8c8]
movups xmm0, xmmword [str.27RPAHCM]
mov word [rbp + 0x28], ax
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov word [rbp + 0x10], ax
movups xmmword [rbp + 0x18], xmm0
call fcn.140040e78
mov rcx, rax
call fcn.14004bfd0
mov dword [rsp + 0x34], r14d
mov r12d, r14d
mov r10d, r14d
test r15d, r15d
je 0x140028cd2
lea r8, [rbp + 2]
mov rdi, r14
lea r9, [rbp - 0x80]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
mov eax, 0xc9
nop dword [rax]
movzx r13d, word [r9]
cmp r13w, ax
jae 0x140028ca5
mov esi, r14d
mov ebx, r14d
cmp ebx, 0xa
jge 0x140028c3d
call fcn.14004bfa4
movsxd rcx, eax
movabs rax, 0xe38e38e38e38e38f
mul rcx
shr rdx, 3
lea rax, [rdx + rdx*8]
sub rcx, rax
movsxd rax, ecx
lea rcx, [rbp]
movzx r15d, word [rbp + rax*2 + 0x18]
movzx edx, r15w
call fcn.1400361a4
test rax, rax
je 0x140028c18
dec ebx
jmp 0x140028c36
mov word [rbp + rdi*2], r15w
inc r12d
inc rdi
cmp rdi, 9
jae 0x14002910f
mov word [rbp + rdi*2], r14w
inc esi
inc ebx
cmp esi, 2
jl 0x140028bd4
lea r9, [0x14009fd40]
mov eax, r14d
mov rdx, r9
mov rcx, r14
nop dword [rax]
cmp word [rdx], r13w
je 0x140028c64
inc eax
inc rcx
add rdx, 0x20
cmp eax, 0xb
jb 0x140028c50
mov r8, qword [rsp + 0x40]
cmp eax, 0xa
mov r15d, dword [rsp + 0x30]
mov eax, 0xa
mov r10d, dword [rsp + 0x34]
cmovae rcx, rax
shl rcx, 5
movzx eax, byte [r8 - 2]
mov byte [rcx + r9 + 0x18], al
movzx eax, byte [r8]
mov byte [rcx + r9 + 0x19], al
mov eax, 0xc9
mov byte [rcx + r9 + 0x1a], r14b
mov r9, qword [rsp + 0x48]
inc r10d
add r9, 0x20
add r8, 4
mov dword [rsp + 0x34], r10d
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r8
cmp r10d, r15d
jl 0x140028bc0
mov r13, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetDialogBaseUnits]
mov r12d, eax
mov dword [rsi], 0x80800080
movzx edi, r12w
lea eax, [r15 + 2]
mov dword [rsp + 0x48], edi
mov word [rsi + 8], ax
mov dword [rsi + 0xa], 0x640064
shr r12d, 0x10
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x140028d60
mov eax, dword [rsp + 0x78]
mov r8d, edi
add eax, 0xfffffd44
cdq
sub eax, edx
mov edx, 4
sar eax, 1
add eax, dword [rsp + 0x70]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov word [rsi + 0xa], ax
mov r8d, r12d
mov eax, dword [rsp + 0x7c]
add eax, 0xfffffed4
cdq
sub eax, edx
mov edx, 8
sar eax, 1
add eax, dword [rsp + 0x74]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov word [rsi + 0xc], ax
mov r8d, edi
mov edx, 4
mov ecx, 0x2bc
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, r12d
mov edx, 8
mov ecx, 0x12c
mov word [rsi + 0xe], ax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov word [rsi + 0x10], ax
lea rbx, [rsi + 0x12]
mov rsi, qword [rsp + 0x60]
mov edx, 0x100
mov dword [rbx], r14d
mov rcx, rsi
add rbx, 4
call fcn.1400420dc
mov r8, rsi
mov rcx, rbx
lea rdx, [rax + 1]
call fcn.14003efa4
mov edx, 0x100
mov rcx, rsi
call fcn.1400420dc
mov edx, 4
mov r8d, edi
lea rbx, [rbx + rax*2]
add rbx, 5
lea ecx, [rdx + 0x10]
and rbx, 0xfffffffffffffffc
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 8
mov r8d, r12d
mov word [rbx + 8], ax
lea ecx, [rdx + 0xc]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, edi
mov edx, 4
mov ecx, 0x294
mov word [rbx + 0xa], ax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, r12d
mov edx, 8
mov ecx, 0xbb
mov word [rbx + 0xc], ax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8, qword [rsp + 0x68]
lea rsi, [rbx + 0x12]
mov word [rbx + 0xe], ax
mov eax, 0xc8
mov word [rbx + 0x10], ax
mov rax, 0xffffffffffffffff
mov dword [rbx], 0x50000001
mov dword [rsi], 0x82ffff
add rsi, 4
inc rax
cmp word [r8 + rax*2], r14w
jne 0x140028e54
movsxd rbx, eax
mov rcx, rsi
lea rdx, [rbx + 1]
call fcn.14003efa4
mov word [rsi + rbx*2 + 2], r14w
mov edx, 4
lea rbx, [rbx*2 + 7]
mov r8d, edi
add rbx, rsi
and rbx, 0xfffffffffffffffc
lea ecx, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, r12d
mov edx, 8
mov ecx, 0xd2
mov word [rbx + 8], ax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, edi
mov edx, 4
mov ecx, 0x294
mov word [rbx + 0xa], ax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, 0x1e
mov r8d, r12d
mov ecx, esi
mov word [rbx + 0xc], ax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rbx + 0x10], 0xffff00a0
lea ecx, [rsi + 0x32]
mov word [rbx + 0xe], ax
mov r8d, 0xa0
mov dword [rbx], 0x10000001
mov edx, 1
mov dword [rbx + 0x14], 0x82
mov word [rbx + 0x18], r14w
add rbx, 0x1a
test r15d, r15d
lea eax, [r8 + 0x6e]
cmovne edx, r15d
cmp edx, 2
jne 0x140028f26
mov dword [rsp + 0x34], 0x6e
mov ecx, r8d
jmp 0x140028f30
cmp edx, 3
cmove eax, esi
mov dword [rsp + 0x34], eax
test r15d, r15d
je 0x14002903a
mov r13d, dword [rsp + 0x34]
lea eax, [rcx + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, r15d
mov r15, r14
mov qword [rsp + 0x40], rax
nop dword [rax]
nop word [rax + rax]
lea rsi, [rbx + 3]
mov r8d, edi
mov edx, 4
mov ecx, r13d
and rsi, 0xfffffffffffffffc
call qword [sym.imp.KERNEL32.dll_MulDiv]
add r13d, dword [rsp + 0x30]
mov r8d, r12d
mov edx, 8
mov word [rsi + 8], ax
mov ecx, 0xf0
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, edi
mov edx, 4
mov ecx, 0xa0
mov word [rsi + 0xa], ax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, 8
mov r8d, r12d
mov word [rsi + 0xc], ax
lea ecx, [rdx + 0x16]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov word [rsi + 0xe], ax
mov ecx, 0x50030000
mov rdi, r15
shl rdi, 5
test r15, r15
movzx eax, word [rbp + rdi - 0x80]
mov rdi, qword [rbp + rdi - 0x78]
mov word [rsi + 0x10], ax
mov eax, 0x50010000
cmove eax, ecx
mov rcx, rdi
or eax, 0xb
mov dword [rsi], eax
mov dword [rsi + 0x12], 0x80ffff
add rsi, 0x16
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov rcx, rsi
inc eax
movsxd rbx, eax
mov rdx, rbx
call fcn.14003efa4
mov edi, dword [rsp + 0x48]
lea rbx, [rsi + rbx*2]
inc r15
mov word [rbx], r14w
sub qword [rsp + 0x40], 1
lea rbx, [rbx + 2]
jne 0x140028f60
mov r13, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x140029050
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x50]
cmp dword [rsp + 0x38], r14d
je 0x1400290d7
cmp dword [rsp + 0x3c], r14d
je 0x1400290b9
lea rax, [rsp + 0x3c]
mov qword [rbp + 0x18], rbx
mov qword [rsp + 0x28], rax
lea r9, [0x1400a7948]
mov qword [rbp + 0x20], rdi
lea r8, [0x140028570]
movups xmm0, xmmword [rbp + 0x18]
mov qword [rbp + 0x28], r13
xor edx, edx
movsd xmm1, qword [rbp + 0x28]
xor ecx, ecx
movups xmmword [0x1400a7948], xmm0
mov dword [rsp + 0x20], r14d
movsd qword [0x1400a7958], xmm1
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400a7448], rax
xor eax, eax
jmp 0x1400290e2
lea r9, [fcn.140027a90]
mov qword [rsp + 0x20], r13
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov r14d, eax
mov rcx, rdi
call fcn.1400302b8
mov eax, r14d
mov r15, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400303d0
add rsp, 0x148
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
call fcn.1400307a4
int3