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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 0x10000
movsxd rax, dword [rsp + 0x24]
shl rax, 1
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x48]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x28], rax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093c90]
mov eax, dword [rcx + rax]
add eax, 0x93205a
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093c90]
mov dword [rdx + rcx], eax
cmp qword [rsp + 0x28], 0
jne 0x1800366e8
mov rax, 0xffffffffffffffff
jmp 0x180036a1c
lea rax, [0x180079b60]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180036751
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180036751
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093c90]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180093c90]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x20], 0xffffffff
mov eax, dword [rsp + 0x24]
dec eax
cdqe
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.180034620
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093c90]
mov eax, dword [rcx + rax]
xor eax, 0xfffff950
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180093c90]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x20], 0
jle 0x1800367c3
movsxd rax, dword [rsp + 0x20]
cmp rax, 0xffffffffffffffff
jne 0x1800368c3
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093c90]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093c90]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093c90]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093c90]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x180036841
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093c90]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093c90]
mov dword [rdx + rcx], eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x80]
call fcn.1800222b0
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
cmp eax, 0x2cd98ed5
jne 0x18003688f
lea r8, str.Local73835328090783532156638680315192012418906257923861864108x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x60], rax
jmp 0x1800368b7
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093c90]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093c90]
mov dword [rdx + rcx], eax
mov rax, 0xffffffffffffffff
jmp 0x180036a1c
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jle 0x1800368d7
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1800220e0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [0x180079b60]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x180036970
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180036970
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093c90]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180093c90]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180093c90]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180093c90]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180093c90]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180093c90]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x1800369ee
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180093c90]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180093c90]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x80]
call fcn.18001b420
jmp 0x180036a1c
add rsp, 0x78
ret