Function at 0x180074d50
Capabilities:
Hide graphical window

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xe8
mov rax, qword [0x180168908]
xor rax, rsp
mov qword [rbp - 0x11], rax
cmp dword [rbp + 0x7f], 0
mov r15, r9
mov r14, qword [rbp + 0x6f]
mov esi, r8d
mov r12, qword [rbp + 0x77]
mov rdi, rcx
mov qword [rsp + 0x58], rdx
jne 0x180075255
mov rcx, qword [rcx + 0x98]
test rcx, rcx
je 0x180074dc5
mov rax, qword [rcx + 0x48]
add rcx, 0x48
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x58]
mov ebx, dword [rdi + 0x50]
lea rcx, [rdi + 0x48]
mov dword [rsp + 0x30], 0
mov r9, r15
mov qword [rsp + 0x28], r12
mov r8d, esi
mov qword [rsp + 0x20], r14
call fcn.1800747d0
mov dword [rdi + 0x50], ebx
test eax, eax
jne 0x180074f3d
cmp esi, 1
jne 0x180074e3e
mov rcx, rdi
mov dword [rdi + 0x80], esi
call fcn.180073140
mov rcx, rdi
call fcn.1800726e0
mov rcx, rdi
call fcn.180072ee0
mov rcx, rdi
call fcn.180073e10
lea rcx, [rdi + 8]
xor edx, edx
call fcn.1800717f0
mov qword [r12], 0
cmp dword [rdi + 0x80], 0
jmp 0x180074f37
cmp esi, 2
jne 0x180074e61
mov dword [rdi + 0x80], 1
mov qword [r12], 0
cmp dword [rdi + 0x80], 0
jmp 0x180074f37
cmp esi, 0x10
jne 0x180074e90
mov rcx, qword [rdi + 8]
xor edx, edx
mov dword [rdi + 0x80], 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov qword [r12], 0
cmp dword [rdi + 0x80], 0
jmp 0x180074f37
cmp esi, 0xf
jne 0x180074f47
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 0x61]
xor ebx, ebx
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x71], rbx
mov dword [rdi + 0x80], 1
call qword [sym.imp.USER32.dll_BeginPaint]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x58]
xorps xmm0, xmm0
mov qword [rbp - 0x71], rax
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x180074f1f
mov ecx, dword [rbp - 0x7d]
xor r8d, r8d
sub ecx, dword [rsp + 0x5c]
xor edx, edx
mov rax, qword [rax]
mov r9d, dword [rsp + 0x60]
sub r9d, dword [rsp + 0x58]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, qword [rbp - 0x69]
lea rdx, [rbp - 0x61]
call qword [sym.imp.USER32.dll_EndPaint]
mov qword [r12], rbx
cmp dword [rdi + 0x80], ebx
je 0x180075156
mov eax, 1
jmp 0x180075257
cmp esi, 0x14
jne 0x180074f67
mov dword [rdi + 0x80], 1
mov qword [r12], 0
cmp dword [rdi + 0x80], 0
jmp 0x180074f37
cmp esi, 0x200
jne 0x180074fb0
cmp dword [rdi + 0xd8], 0
mov dword [rdi + 0x80], 1
je 0x180075044
mov rcx, qword [rdi + 8]
mov edx, 0x3e8
mov dword [rdi + 0xd8], 0
call qword [sym.imp.USER32.dll_KillTimer]
mov qword [r12], 0
cmp dword [rdi + 0x80], 0
jmp 0x180074f37
cmp esi, 0x2a3
jne 0x180075001
cmp dword [rdi + 0xd8], 0
mov dword [rdi + 0x80], 1
jne 0x180075044
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov edx, 0x3e8
mov dword [rdi + 0xd8], 1
mov r8d, 0x7530
call qword [sym.imp.USER32.dll_SetTimer]
mov qword [r12], 0
cmp dword [rdi + 0x80], 0
jmp 0x180074f37
cmp esi, 0x113
jne 0x180075058
mov dword [rdi + 0x80], 1
cmp r15, 0x3e8
jne 0x180075044
cmp dword [rdi + 0xd8], 0
je 0x18007503c
mov rcx, qword [rdi + 8]
mov rdx, r15
mov dword [rdi + 0xd8], 0
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, rdi
call fcn.1800724b0
mov qword [r12], 0
cmp dword [rdi + 0x80], 0
jmp 0x180074f37
cmp esi, 0x1401
jne 0x180075092
mov rax, qword [rdi + 0x48]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9, r14
lea rcx, [rdi + 0x48]
mov dword [rsp + 0x50], 1
mov r8, r15
mov edx, esi
call qword [rax]
cmp dword [rsp + 0x50], 0
mov qword [r12], rax
jmp 0x180074f37
cmp esi, 0x111
jne 0x180075156
mov rbx, r15
mov r8d, 0x3ea
shr rbx, 0x10
cmp r8w, r15w
jne 0x1800750e0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 1
mov r9, r14
mov qword [rsp + 0x20], rax
movzx edx, bx
mov rcx, rdi
call fcn.180073660
cmp dword [rsp + 0x50], 0
mov qword [r12], rax
jne 0x180074f3d
mov r8d, 0x3eb
cmp r8w, r15w
jne 0x18007511b
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 1
mov r9, r14
mov qword [rsp + 0x20], rax
movzx edx, bx
mov rcx, rdi
call fcn.1800739e0
cmp dword [rsp + 0x50], 0
mov qword [r12], rax
jne 0x180074f3d
mov r8d, 0x3ec
cmp r8w, r15w
jne 0x180075156
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 1
mov r9, r14
mov qword [rsp + 0x20], rax
movzx edx, bx
mov rcx, rdi
call fcn.1800733e0
cmp dword [rsp + 0x50], 0
mov qword [r12], rax
jne 0x180074f3d
mov dword [rsp + 0x50], 1
cmp esi, 0x4e
ja 0x1800751c8
je 0x1800751c3
lea eax, [rsi - 0x2b]
cmp eax, 0xe
ja case.0x180075182.48
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x75284]
add rcx, rdx
jmp rcx
test r15, r15
je case.0x180075182.48
mov rax, qword [r14 + 0x18]
jmp 0x18007522c
test r15, r15
je case.0x180075182.48
mov edx, dword [r14 + 4]
jmp 0x180075222
test r15, r15
je case.0x180075182.48
mov rax, qword [r14 + 8]
jmp 0x18007522c
test r15, r15
je case.0x180075182.48
mov rax, qword [r14 + 0x10]
jmp 0x18007522c
mov rax, qword [r14]
jmp 0x18007522c
cmp esi, 0x138
ja 0x1800751fe
cmp esi, 0x132
jae case.0x180075182.46
cmp esi, 0x111
je 0x1800751f4
lea eax, [rsi - 0x114]
cmp eax, 1
ja case.0x180075182.48
mov rax, r14
jmp 0x18007522c
test r14, r14
je case.0x180075182.48
mov rax, r14
jmp 0x18007522c
cmp esi, 0x210
jne case.0x180075182.48
test r15w, r15w
je 0x180075218
cmp r15w, 2
ja 0x180075218
mov rax, r14
jmp 0x18007522c
mov rax, r15
shr rax, 0x10
movzx edx, ax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je case.0x180075182.48
lea edx, [rsi + 0x2000]
mov r9, r14
mov r8, r15
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x50], 0
mov qword [r12], rax
jne 0x180074f3d
xor eax, eax
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1800a5130
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [r12], 1
jmp 0x180075255