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

Disassembly:
push r15
mov eax, 0x4388
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.0067cdd0
sub rsp, rax
mov rax, qword [0x00828d60]
mov ebx, dword [rax + 0x428]
mov rax, qword [0x00826960]
mov dword [rsp + 0x43e0], r8d
lea rbp, [rsp + 0x60]
mov r13, rcx
mov rcx, rbp
mov qword [rsp + 0x43d8], rdx
lea r15, [rsp + 0xa0]
mov esi, dword [rax + 0x1c014]
mov rax, qword [0x00828d60]
mov eax, dword [rax + 0x3c8]
mov dword [rsp + 0x38], eax
mov rax, qword [0x00826940]
mov rax, qword [rax]
mov r8d, dword [rax + 0x18]
call fcn.00410680
mov qword [rsp + 0x88], r15
cmp qword [rsp + 0x43f0], 0xd
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x90], 1
ja 0x431120
add rsp, 0x4388
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x00828d60]
mov dword [rsp + 0x74], 0
mov rdi, qword [0x00826960]
mov rcx, qword [r13 + 0x20]
mov eax, dword [rax + 0x3f8]
mov dword [rsp + 0x3c], eax
shl eax, 8
cdq
idiv dword [rdi + 0x1c014]
mov rdi, r15
mov dword [rsp + 0x7c], eax
imul rax, qword [rsp + 0x43f0], 0x868
add rax, qword [r13]
mov r12, qword [rax + 0x840]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + 0x38]
mov ecx, 0xf
mov rdx, qword [r13 + 8]
xor r10d, r10d
movabs r11, 0x8fb3ddbd6205b5c5
mov qword [rsp + 0x48], rax
xor eax, eax
rep stosq qword [rdi], rax
mov rdi, qword [r13]
mov rax, rdx
sub rax, rdi
mov r8, rdi
sar rax, 3
imul rax, r11
test rax, rax
je 0x431239
mov dword [rsp + 0x3c], esi
mov r14, rdi
mov rsi, r13
mov edi, ebx
mov r13, r11
mov rbx, r10
jmp 0x4311ee
mov rax, rdx
add rbx, 1
add r14, 0x868
sub rax, r8
sar rax, 3
imul rax, r13
cmp rbx, rax
jae 0x431230
cmp r12, qword [r14 + 0x840]
jne 0x4311d0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x4311d0
mov r8, qword [rsp + 0x43d8]
mov rdx, r15
mov qword [rsp + 0x28], rbx
mov r9d, dword [rsp + 0x7c]
mov dword [rsp + 0x20], 0
call fcn.004345b0
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
jmp 0x4311d0
mov r13, rsi
mov esi, dword [rsp + 0x3c]
mov ebx, edi
mov rax, qword [0x00828c60]
lea rdi, [0x007fe600]
mov rax, qword [rax + 0xc20]
test rax, rax
cmove rax, rdi
mov rcx, rax
mov eax, ebx
shl eax, 8
cdq
idiv esi
mov rdx, rcx
mov rcx, rbp
mov dword [rsp + 0x3c], eax
call fcn.00410d10
cmp qword [rsp + 0x40], 0
je 0x43178d
mov rax, qword [rsp + 0x40]
lea rbx, [rsp + 0x2380]
xor r14d, r14d
lea rdx, [0x007fe602]
mov rcx, rbx
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x48]
add r8, qword [rax + 0x860]
call qword [sym.imp.USER32.dll_wsprintfW]
movzx ecx, word [rsp + 0x2380]
test cx, cx
je 0x4312e7
mov rdi, qword [sym.imp.msvcrt.dll_toupper]
lea rsi, [rsp + 0x380]
nop word [rax + rax]
call rdi
cbw
mov word [rsi + r14*2], ax
add r14, 1
movzx ecx, word [rbx + r14*2]
test cx, cx
jne 0x4312d0
xor eax, eax
xor edx, edx
xor ecx, ecx
mov byte [rsp + 0x140], 0
mov word [rsp + r14*2 + 0x380], ax
mov r14, qword [rsp + 0x40]
lea rax, [rsp + 0x120]
xor r8d, r8d
mov word [rsp + 0x142], dx
lea rdx, [rsp + 0x250]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov rsi, rdx
lea rax, [rsp + 0x142]
mov qword [rsp + 0x50], rdx
lea rbx, [r14 + 0x24]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x272]
mov word [rsp + 0x272], cx
mov rcx, rbx
lea rax, [0x00840bc0]
mov qword [rsp + 0x260], rdx
mov rdx, rdi
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x138], pe_nt_image_headers64
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x258], 0
mov qword [rsp + 0x268], pe_nt_image_headers64
mov byte [rsp + 0x270], 0
mov qword [rsp + 0x250], rax
call fcn.00403910
mov rdx, rsi
mov rcx, rbx
call fcn.00403a10
mov r8, qword [rsp + 0x43f0]
lea rdx, [0x007fe69e]
mov rcx, rbp
call fcn.004108a0
mov rcx, rbp
call fcn.00410760
mov eax, dword [rsp + 0x38]
mov rcx, qword [r13 + 0x20]
mov dword [rsp + 0x74], eax
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdx, rax
mov rcx, r14
call fcn.00408cf0
lea rdx, [0x007feb0e]
mov r8d, eax
mov rcx, rbp
call fcn.004108a0
mov r8, qword [rsp + 0x130]
lea rdx, [0x007feb1c]
mov rcx, rbp
call fcn.004108a0
mov ebx, 6
nop dword [rax]
mov rcx, rbp
call fcn.00410760
sub rbx, 1
jne 0x431430
mov rcx, qword [r13 + 0x20]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rax, qword [rcx]
mov ebx, dword [rsi + 0x14]
add rbx, qword [rdi + 0x860]
call qword [rax + 0x38]
mov r8d, dword [rax + 0x138]
mov r9, rbx
mov rcx, rbp
add r8, qword [rdi + 0x860]
lea rdx, [0x007feb26]
call fcn.004108a0
mov r8d, dword [rsi + 4]
lea rdx, [0x007feb1c]
mov rcx, rbp
add r8, qword [rdi + 0x860]
call fcn.004108a0
mov r8, qword [rsp + 0x260]
lea rdx, [0x007feb1c]
mov rcx, rbp
call fcn.004108a0
lea r8, [rsp + 0x380]
mov rcx, rbp
lea rdx, [0x007feb1c]
call fcn.004108a0
mov r8d, dword [rsi]
lea rdx, [0x007feb1c]
mov rcx, rbp
add r8, qword [rdi + 0x860]
call fcn.004108a0
mov rcx, qword [rsp + 0x258]
lea rbx, [0x008407e0]
mov eax, dword [rsp + 0x3c]
mov qword [rsp + 0x250], rbx
add dword [rsp + 0x7c], eax
test rcx, rcx
je 0x431506
call fcn.007da030
mov rcx, qword [rsp + 0x128]
mov qword [rsp + 0x120], rbx
test rcx, rcx
je 0x431520
call fcn.007da030
mov rcx, rbp
mov eax, dword [rsp + 0x3c]
movabs rdi, 0x8fb3ddbd6205b5c5
add dword [rsp + 0x7c], eax
call fcn.004106f0
mov rax, qword [0x00828c60]
mov rcx, rbp
lea rdx, [0x007fe600]
mov rax, qword [rax + 0xc50]
test rax, rax
cmovne rdx, rax
xor esi, esi
call fcn.00410d10
mov rdx, qword [r13 + 8]
mov rbx, qword [r13]
mov r14, qword [rsp + 0x43d8]
mov rax, rdx
sub rax, rbx
mov r8, rbx
sar rax, 3
imul rax, rdi
test rax, rax
jne 0x4315ae
jmp 0x431610
mov rax, rdx
add rsi, 1
add rbx, 0x868
sub rax, r8
sar rax, 3
imul rax, rdi
cmp rsi, rax
jae 0x431610
cmp r12, qword [rbx + 0x840]
jne 0x431590
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x431590
test byte [rbx + 0x838], 2
jne 0x431590
cmp qword [rsp + 0x43f0], rsi
je 0x4317d0
mov r9d, dword [rsp + 0x7c]
mov r8, r14
mov rdx, r15
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 1
call fcn.004345b0
mov eax, dword [rsp + 0x3c]
mov rdx, qword [r13 + 8]
add dword [rsp + 0x7c], eax
mov r8, qword [r13]
jmp 0x431590
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x58]
lea r8, [rax + 4]
mov rdx, rax
mov rax, qword [0x00826940]
mov rcx, qword [rax]
call fcn.00407d50
mov rax, qword [0x00826960]
movdqa xmm0, xmmword [rsp + 0xb0]
paddd xmm0, xmmword [rsp + 0xa0]
paddd xmm0, xmmword [rsp + 0xc0]
paddd xmm0, xmmword [rsp + 0xd0]
paddd xmm0, xmmword [rsp + 0xe0]
paddd xmm0, xmmword [rsp + 0xf0]
paddd xmm0, xmmword [rsp + 0x100]
mov ecx, dword [rax + 0x1c014]
mov rax, qword [0x00828d60]
movdqa xmm1, xmm0
psrldq xmm1, 8
mov r9d, dword [rsp + 0x7c]
paddd xmm0, xmm1
movdqa xmm1, xmm0
mov eax, dword [rax + 0x3e0]
psrldq xmm1, 4
paddd xmm0, xmm1
movd ebx, xmm0
add ebx, dword [rsp + 0x110]
add ebx, dword [rsp + 0x114]
mov dword [rsp + 0x40], eax
shl eax, 8
cdq
idiv ecx
lea r8d, [rax + rax*2]
mov eax, dword [rsp + 0x120]
add eax, ebx
add eax, r8d
cmp eax, dword [rsp + 0x258]
jg 0x43171b
mov rax, qword [0x00828d60]
mov eax, dword [rax + 0x3f8]
shl eax, 8
cdq
idiv ecx
lea edx, [rbx + r8]
lea r8d, [rax + r9]
mov rax, qword [0x00826940]
mov rcx, qword [rax]
call fcn.00407970
jmp 0x431104
mov rcx, rbp
mov edi, dword [rsp + 0x3c]
add dword [rsp + 0x7c], edi
call fcn.004106f0
mov rax, qword [0x00828c60]
mov rcx, rbp
mov edx, dword [rsp + 0x38]
lea r8, [0x007fe600]
mov rax, qword [rax + 0xd28]
test rax, rax
cmovne r8, rax
call fcn.004109e0
mov rax, qword [0x00826960]
mov r9d, dword [rsp + 0x7c]
mov ecx, dword [rax + 0x1c014]
mov rax, qword [0x00828d60]
add r9d, edi
mov dword [rsp + 0x7c], r9d
mov eax, dword [rax + 0x3e0]
mov dword [rsp + 0x38], eax
shl eax, 8
cdq
idiv ecx
lea r8d, [rax + rax*2]
jmp 0x4316ec
mov rax, qword [0x00828c60]
lea rdx, [0x007fe602]
mov rcx, rbp
mov r8, qword [rax + 0x3e0]
test r8, r8
cmove r8, rdi
call fcn.00410c00
lea rax, [rsp + 0x120]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x50], rax
jmp 0x431520
mov rax, qword [0x00826940]
mov r10, qword [0x00826960]
mov r9d, dword [rsp + 0x43e0]
mov r8d, dword [rsp + 0x7c]
mov rax, qword [rax]
mov ecx, dword [rax + 0x18]
mov rax, qword [0x00828d60]
add r9d, ecx
mov eax, dword [rax + 0x3e0]
mov dword [rsp + 0x40], eax
shl eax, 8
cdq
idiv dword [r10 + 0x1c014]
mov r10, qword [r14]
lea edx, [rax + rcx]
mov rcx, qword [0x00828d60]
sub r9d, eax
mov ecx, dword [rcx + 0x578]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x3c]
add ecx, r8d
mov dword [rsp + 0x20], ecx
mov rcx, r14
call qword [r10 + 0x38]
mov rcx, qword [rbx + 8]
jmp 0x4315d7