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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov rbp, rsp
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x108], rdx
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417160
test eax, eax
je 0x6c92c3
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417170
test eax, eax
je 0x6c92c3
call fcn.00650e40
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
call qword [rax + 0x90]
test al, al
je 0x6c92c3
mov rcx, qword [rbp + 0x100]
call fcn.006c76a0
mov qword [rbp + 0xb0], rax
cmp qword [rbp + 0xb0], 0
je 0x6c92c3
mov qword [rbp + 0xa8], 0
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x20]
call fcn.006cbae0
mov rax, qword [rax + 0x4d0]
mov rax, qword [rax + 0x70]
mov rax, qword [rax + 0xc0]
mov qword [rbp + 0x80], rax
cmp qword [rbp + 0x80], 0
je 0x6c884c
mov rcx, qword [rbp + 0x80]
call fcn.00698960
test eax, eax
jle 0x6c884c
mov rcx, qword [rbp + 0x80]
call fcn.006992e0
mov rcx, rax
mov rdx, qword [0x0068f3c0]
call fcn.0040ab60
test al, al
je 0x6c884c
mov rcx, qword [rbp + 0x80]
call fcn.006992e0
mov qword [rbp + 0xa8], rax
mov rcx, qword [0x0057e170]
mov dl, 1
call fcn.0058c8f0
mov qword [rbp + 0xc8], rax
nop
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417160
mov ebx, eax
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417170
mov rcx, qword [rbp + 0xc8]
mov edx, ebx
mov r8d, eax
mov rax, qword [rbp + 0xc8]
mov rbx, qword [rax]
call qword [rbx + 0xd8]
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, rax
call fcn.00584770
mov rcx, rax
call sub.gdi32.dll_SaveDC
mov dword [rbp + 0xc4], eax
nop
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0xb8]
mov r8b, 0xa
mov rax, qword [rbp + 0x88]
mov rbx, qword [rax]
call qword [rbx + 0x140]
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, rax
call fcn.00584770
mov rbx, rax
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
call qword [rax + 0x60]
mov esi, eax
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
call qword [rax + 0x48]
lea rcx, [rbp + 0x58]
xor rdx, rdx
xor r8, r8
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.004179d0
mov rcx, qword [rbp + 0x88]
mov rdx, rbx
lea r8, [rbp + 0xb8]
lea r9, [rbp + 0x58]
mov qword [rsp + 0x20], 0
call fcn.00651ac0
nop
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, rax
call fcn.00584770
mov rcx, rax
mov edx, dword [rbp + 0xc4]
call sub.gdi32.dll_RestoreDC
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rax, qword [rax + 0x70]
mov rcx, rax
mov rdx, qword [0x007e0b98]
mov rdx, qword [rdx + 0x100]
mov rbx, qword [rax]
call qword [rbx + 0x10]
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, qword [rax + 0x80]
mov dl, 1
call fcn.00582980
mov rax, qword [rbp + 0x100]
cmp byte [rax + 0xc1], 0
je 0x6c89e2
mov rcx, qword [rbp + 0x100]
call fcn.006c6500
test al, al
jne 0x6c89e7
xor rax, rax
jmp 0x6c89e9
mov al, 1
mov byte [rbp + 0x93], al
cmp byte [rbp + 0x93], 0
je 0x6c8a64
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, rax
call fcn.00584770
mov rbx, rax
mov rcx, qword [rbp + 0x100]
call fcn.006c6350
mov rcx, rax
call fcn.00590d20
mov rcx, rbx
mov edx, 2
mov r8d, 2
mov r9, rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 3
call sub.user32.dll_DrawIconEx
mov rcx, rbp
mov rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xa8]
call fcn.006c84c0
mov rcx, qword [rbp + 0x100]
mov dword [rcx + 0x3c], eax
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x10]
cmp byte [rax + 0xa1], 1
sete al
mov byte [rbp + 0x92], al
mov ecx, 0xf
call sub.user32.dll_GetSystemMetrics
mov dword [rbp + 0x94], eax
cmp byte [rbp + 0x92], 0
jne 0x6c8ae0
cmp byte [rbp + 0x93], 0
je 0x6c8ad4
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0xa0], eax
jmp 0x6c8b2a
mov dword [rbp + 0xa0], 0
jmp 0x6c8b2a
mov rax, qword [rbp + 0x100]
cmp byte [rax + 0xc1], 0
je 0x6c8b14
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417160
mov ecx, dword [rbp + 0x94]
lea rcx, [rcx + rcx*2]
sub eax, ecx
mov dword [rbp + 0xa0], eax
jmp 0x6c8b2a
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417160
mov dword [rbp + 0xa0], eax
mov dword [rbp + 0x9c], 0
xor rax, rax
mov rcx, qword [rbp + 0x100]
mov ebx, dword [rcx + 0x3c]
sub ebx, 1
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], ebx
jg 0x6c8f59
add ebx, 1
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov edx, dword [rbp + 0xa4]
mov dword [rax + rcx*8], edx
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, qword [rbp + 0x100]
mov rdx, qword [rbp + 0x100]
mov rdx, qword [rdx + 0x40]
movsxd r8, dword [rbp + 0xa4]
add r8, r8
add r8, r8
mov rdx, qword [rdx + r8*8 + 8]
mov r8, rax
call fcn.006c7d90
mov dword [rbp + 0x98], eax
cmp dword [rbp + 0x98], 0
jne 0x6c8c05
lea rcx, [rbp + 0x58]
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call fcn.004179d0
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
lea rdi, [rax + rcx*8 + 0x10]
lea rsi, [rbp + 0x58]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
jmp 0x6c8f46
cmp byte [rbp + 0x92], 0
jne 0x6c8d24
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov edx, dword [rbp + 0xa0]
mov dword [rax + rcx*8 + 0x10], edx
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov rdx, qword [rbp + 0x100]
mov rdx, qword [rdx + 0x40]
movsxd r8, dword [rbp + 0xa4]
add r8, r8
add r8, r8
mov edx, dword [rdx + r8*8 + 0x10]
add edx, dword [rbp + 0x98]
mov dword [rax + rcx*8 + 0x18], edx
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417160
mov rcx, qword [rbp + 0x100]
mov rcx, qword [rcx + 0x40]
movsxd rdx, dword [rbp + 0xa4]
add rdx, rdx
add rdx, rdx
cmp dword [rcx + rdx*8 + 0x18], eax
jle 0x6c8cfd
cmp dword [rbp + 0xa0], 0
je 0x6c8cfd
mov ecx, 0xf
call sub.user32.dll_GetSystemMetrics
add dword [rbp + 0x9c], eax
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov dword [rax + rcx*8 + 0x10], 0
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov edx, dword [rbp + 0x98]
mov dword [rax + rcx*8 + 0x18], edx
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov eax, dword [rax + rcx*8 + 0x18]
mov dword [rbp + 0xa0], eax
jmp 0x6c8ea5
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov edx, dword [rbp + 0xa0]
sub edx, dword [rbp + 0x98]
mov dword [rax + rcx*8 + 0x10], edx
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov rdx, qword [rbp + 0x100]
mov rdx, qword [rdx + 0x40]
movsxd r8, dword [rbp + 0xa4]
add r8, r8
add r8, r8
mov edx, dword [rdx + r8*8 + 0x10]
add edx, dword [rbp + 0x98]
mov dword [rax + rcx*8 + 0x18], edx
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
cmp dword [rax + rcx*8 + 0x10], 0
jge 0x6c8e83
cmp dword [rbp + 0xa0], 0
je 0x6c8e83
mov ecx, 0xf
call sub.user32.dll_GetSystemMetrics
add dword [rbp + 0x9c], eax
mov rax, qword [rbp + 0x100]
cmp byte [rax + 0xc1], 0
je 0x6c8e18
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417160
mov rcx, qword [rbp + 0x100]
mov rcx, qword [rcx + 0x40]
movsxd rdx, dword [rbp + 0xa4]
add rdx, rdx
add rdx, rdx
mov r8d, dword [rbp + 0x94]
lea r8, [r8 + r8*2]
sub eax, r8d
mov dword [rcx + rdx*8 + 0x18], eax
jmp 0x6c8e44
mov rax, qword [rbp + 0x100]
lea rcx, [rax + 0xc]
call fcn.00417160
mov rcx, qword [rbp + 0x100]
mov rcx, qword [rcx + 0x40]
movsxd rdx, dword [rbp + 0xa4]
add rdx, rdx
add rdx, rdx
mov dword [rcx + rdx*8 + 0x18], eax
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov rdx, qword [rbp + 0x100]
mov rdx, qword [rdx + 0x40]
movsxd r8, dword [rbp + 0xa4]
add r8, r8
add r8, r8
mov edx, dword [rdx + r8*8 + 0x18]
sub edx, dword [rbp + 0x98]
mov dword [rax + rcx*8 + 0x10], edx
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [rbp + 0xa0], eax
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 0x40]
movsxd rcx, dword [rbp + 0xa4]
add rcx, rcx
add rcx, rcx
mov edx, dword [rbp + 0x9c]
mov dword [rax + rcx*8 + 0x14], edx
mov ecx, 0xf
call sub.user32.dll_GetSystemMetrics
mov rcx, qword [rbp + 0x100]
mov rcx, qword [rcx + 0x40]
movsxd rdx, dword [rbp + 0xa4]
add rdx, rdx
add rdx, rdx
mov r8, qword [rbp + 0x100]
mov r8, qword [r8 + 0x40]
movsxd r9, dword [rbp + 0xa4]
add r9, r9
add r9, r9
mov r8d, dword [r8 + r9*8 + 0x14]
add r8d, eax
mov dword [rcx + rdx*8 + 0x1c], r8d
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, qword [rbp + 0x100]
mov rdx, qword [rbp + 0x100]
mov rdx, qword [rdx + 0x40]
movsxd r8, dword [rbp + 0xa4]
add r8, r8
add r8, r8
lea rdx, [rdx + r8*8]
mov r8, rax
call fcn.006c7e80
add dword [rbp + 0xa4], 1
cmp dword [rbp + 0xa4], ebx
jne 0x6c8b59
nop
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
call qword [rax + 0x60]
mov dword [rbp + 0xa0], eax
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
call qword [rax + 0x48]
sub eax, dword [rbp + 0x94]
mov dword [rbp + 0x9c], eax
mov rax, qword [rbp + 0x100]
cmp byte [rax + 0xc1], 0
je 0x6c9283
mov dword [rbp + 0xa4], 0
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov edx, dword [rbp + 0xa4]
mov dword [rax + rcx*8 + 0x50], edx
mov eax, dword [rbp + 0xa4]
sub eax, 1
cmp eax, 0xffffffff
je 0x6c8ff4
test eax, eax
je 0x6c9081
sub eax, 1
test eax, eax
jne 0x6c9190
jmp 0x6c910e
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0x48]
jne 0x6c9037
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0xbc]
jne 0x6c9037
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x3e
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0x48]
jne 0x6c9065
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x3d
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x3c
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0x48]
jne 0x6c90c4
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0xbc]
jne 0x6c90c4
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x46
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0x48]
jne 0x6c90f2
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x45
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x44
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0x48]
jne 0x6c914e
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0xbc]
jne 0x6c914e
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x2e
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
mov ecx, dword [rbp + 0xa4]
cmp ecx, dword [rax + 0x48]
jne 0x6c9179
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x2d
jmp 0x6c9190
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
mov byte [rax + rcx*8 + 0x54], 0x2c
lea rcx, [rbp + 0x58]
mov edx, dword [rbp + 0xa0]
sub edx, dword [rbp + 0x94]
mov r8d, dword [rbp + 0x9c]
mov r9d, dword [rbp + 0xa0]
mov eax, dword [rbp + 0x9c]
add eax, dword [rbp + 0x94]
mov dword [rsp + 0x20], eax
call fcn.004179d0
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rbp + 0xa4]
lea rcx, [rcx + rcx*2]
lea rdi, [rax + rcx*8 + 0x58]
lea rsi, [rbp + 0x58]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov rcx, qword [rbp + 0x88]
lea rdx, [rbp + 0xb8]
mov rax, qword [rbp + 0x100]
movsxd r8, dword [rbp + 0xa4]
lea r8, [r8 + r8*2]
movzx r8, byte [rax + r8*8 + 0x54]
mov rax, qword [rbp + 0x88]
mov rbx, qword [rax]
call qword [rbx + 0x200]
mov rcx, qword [rbp + 0xc8]
call fcn.0058db70
mov rcx, rax
call fcn.00584770
mov rcx, qword [rbp + 0x88]
mov rdx, rax
lea r8, [rbp + 0xb8]
mov rax, qword [rbp + 0x100]
movsxd r9, dword [rbp + 0xa4]
lea r9, [r9 + r9*2]
lea r9, [rax + r9*8 + 0x58]
mov qword [rsp + 0x20], 0
call fcn.00651ac0
mov eax, dword [rbp + 0x94]
sub dword [rbp + 0xa0], eax
add dword [rbp + 0xa4], 1
cmp dword [rbp + 0xa4], 3
jne 0x6c8fb2
nop
mov rcx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp + 0x100]
mov r8d, dword [rax + 0x10]
mov r9, qword [rbp + 0xc8]
mov rax, qword [rbp + 0x108]
mov rbx, qword [rax]
call qword [rbx + 0x88]
nop
mov rcx, qword [rbp + 0xc8]
call fcn.0040a6c0
lea rsp, [rbp + 0xd8]
pop rbx
pop rsi
pop rdi
pop rbp
ret