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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
cmp eax, 0x205a6261
jne 0x18005b953
lea r8, [0x18008ac80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xe8], rax
jmp 0x18005b97b
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x230]
call fcn.180063410
test rax, rax
je 0x18005b99f
mov rcx, qword [rsp + 0x230]
call fcn.180062a70
test rax, rax
jne 0x18005b9a9
mov eax, 0xfffffffd
jmp 0x18005c58e
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180095500]
mov edx, 4
imul rdx, rdx, 2
lea r8, [0x180095500]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180095500]
mov edx, 4
imul rdx, rdx, 1
lea r8, [0x180095500]
mov edx, dword [r8 + rdx]
cmp dword [rcx + rax], edx
jae 0x18005ba27
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180095500]
mov edx, dword [rcx + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xfffff9aa
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x220]
call fcn.180025f60
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x230]
call fcn.180063460
mov rcx, qword [rsp + 0x238]
mov ecx, dword [rcx]
or ecx, eax
mov dword [rsp + 0x54], ecx
mov rax, qword [rsp + 0x238]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x220]
call fcn.1800632a0
mov eax, SafeArrayUnaccessData
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x180095500]
cmp dword [rcx + rax*4], 1
jne 0x18005bae5
movsx rax, word [rsp + 0x34]
lea rcx, [0x180095500]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
mov rcx, qword [rsp + 0x220]
call fcn.180063210
and eax, 0x80
test eax, eax
je 0x18005bb28
mov rax, qword [rsp + 0x238]
mov eax, dword [rax]
and eax, 3
bts eax, 7
mov rcx, qword [rsp + 0x238]
mov r8d, dword [rcx]
mov edx, eax
mov rcx, qword [rsp + 0x220]
call fcn.1800633c0
jmp 0x18005bb63
mov rcx, qword [rsp + 0x220]
call fcn.180025f60
cmp qword [rax], 0
je 0x18005bb4c
mov rcx, qword [rsp + 0x220]
call fcn.180063460
test eax, eax
jne 0x18005bb63
mov rax, qword [rsp + 0x238]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x220]
call fcn.180063420
mov rax, qword [rsp + 0x238]
mov eax, dword [rax]
and eax, 0x800000
test eax, eax
je 0x18005bb80
mov dword [rsp + 0x6c], 0x800001
jmp 0x18005bb88
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x7c], eax
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xfffff988
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
xor r9d, r9d
mov r8, qword [rsp + 0x230]
mov edx, 1
lea rcx, [rsp + 0x170]
call fcn.1800628f0
mov r9, qword [rsp + 0x228]
mov r8, qword [rsp + 0x220]
mov edx, dword [rsp + 0x7c]
lea rcx, [rsp + 0x110]
call fcn.1800628f0
mov qword [rsp + 0x48], 0
cmp qword [rsp + 0x248], 0
jne 0x18005bd8a
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
add eax, 0x37b22aa
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x238]
mov eax, dword [rax]
and eax, 0x30000
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x10000
je 0x18005bc6c
cmp dword [rsp + 0x74], 0x20000
je 0x18005bd57
jmp 0x18005bd8a
lea rax, [0x18011fd60]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
cmp eax, 0x2298a201
jne 0x18005bcac
lea r8, str.Local64588928016096872001786542402275827843475627000703928640x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x100], rax
jmp 0x18005bcd4
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
cmp eax, 0x549b6461
jne 0x18005bd02
lea r8, str.Local67007818011097929641102647140782679296389359600127100064x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x108], rax
jmp 0x18005bd2a
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
jmp 0x18005bd8a
lea rax, [0x18011fe60]
mov qword [rsp + 0x48], rax
jmp 0x18005bd8a
mov rax, qword [rsp + 0x238]
mov eax, dword [rax]
and eax, 0x20000
test eax, eax
je 0x18005bf47
mov eax, 5
mov word [rsp + 0x2c], ax
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180095500]
cmp dword [rcx + rax*4], 1
jne 0x18005bde0
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180095500]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x2c]
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x88], 0xa
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x88]
movsxd rcx, ecx
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
cmp qword [rsp + 0x48], 0
je 0x18005be2d
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.180059970
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x68], eax
jmp 0x18005be4f
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.180059970
mov edx, eax
mov rcx, qword [rsp + 0x248]
call fcn.180063240
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
cmp qword [rsp + 0x48], 0
je 0x18005be7f
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.180059970
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x60], eax
jmp 0x18005bea1
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.180059970
mov edx, eax
mov rcx, qword [rsp + 0x248]
call fcn.180063240
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x70], 0x3f
ja 0x18005beb7
cmp dword [rsp + 0x58], 0x3f
jbe 0x18005bec1
mov eax, 0xfffffffd
jmp 0x18005c58e
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xfffff915
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov r8d, dword [rsp + 0x70]
mov rax, qword [rsp + 0x238]
mov edx, dword [rax]
lea rcx, [rsp + 0x240]
call fcn.180062f40
mov r8d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x238]
mov edx, dword [rax]
lea rcx, [rsp + 0x240]
call fcn.180062f40
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, dword [rsp + 0x240]
call fcn.180063390
mov ecx, dword [rsp + 0x240]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x240], eax
mov qword [rsp + 0x40], 0
jmp 0x18005bf60
mov rax, qword [rsp + 0x40]
and rax, 3
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x170]
call fcn.180063140
test rax, rax
je 0x18005c218
mov eax, 1
mov word [rsp + 0x38], ax
movsx rax, word [rsp + 0x38]
lea rcx, [0x180095500]
cmp dword [rcx + rax*4], 1
jne 0x18005bfb5
movsx rax, word [rsp + 0x38]
lea rcx, [0x180095500]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x38]
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
cmp qword [rsp + 0x48], 0
je 0x18005bfdd
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.180059970
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
jmp 0x18005bfff
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.180059970
mov edx, eax
mov rcx, qword [rsp + 0x248]
call fcn.180063240
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
cmp eax, 0xff
je 0x18005c049
movzx eax, byte [rsp + 0x21]
mov r8d, eax
mov rax, qword [rsp + 0x238]
mov edx, dword [rax]
lea rcx, [rsp + 0x240]
call fcn.180062f40
mov rcx, qword [rsp + 0x40]
mov byte [rsp + rcx + 0x28], al
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 4
je 0x18005c15b
lea rax, [0x18008ae14]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18005c0d0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x18005c0d0
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov eax, 7
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180095500]
cmp dword [rcx + rax*4], 1
jne 0x18005c10f
movsx rax, word [rsp + 0x24]
lea rcx, [0x180095500]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
lea rcx, [rsp + 0x170]
call fcn.180063140
test rax, rax
je 0x18005c126
jmp 0x18005bf52
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xfffff8d4
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x40]
mov byte [rsp + rax + 0x28], 0
cmp qword [rsp + 0x40], 1
jbe 0x18005c197
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x28]
mov ecx, 1
imul rcx, rcx, 1
movzx ecx, byte [rsp + rcx + 0x28]
and ecx, 0x30
sar ecx, 4
lea eax, [rcx + rax*4]
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.18005a020
cmp qword [rsp + 0x40], 2
jbe 0x18005c1d8
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x28]
and eax, 0xf
shl eax, 4
mov ecx, 1
imul rcx, rcx, 2
movzx ecx, byte [rsp + rcx + 0x28]
and ecx, 0x3c
sar ecx, 2
add eax, ecx
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.18005a020
cmp qword [rsp + 0x40], 3
jbe 0x18005c213
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x28]
and eax, 3
shl eax, 6
mov ecx, 1
imul rcx, rcx, 3
movzx ecx, byte [rsp + rcx + 0x28]
add eax, ecx
mov edx, eax
lea rcx, [rsp + 0x110]
call fcn.18005a020
jmp 0x18005bf52
lea rcx, [rsp + 0x110]
call fcn.180063340
movzx eax, al
test eax, eax
jne 0x18005c236
mov eax, 0xfffffffd
jmp 0x18005c58e
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xfffff8b3
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x110]
call fcn.180063230
cmp dword [rax + 4], 0
je 0x18005c4cb
mov dword [rsp + 0x50], 0
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa8]
cmp eax, 0x3f40e0e9
jne 0x18005c2b4
lea r8, str.Local8621325244751594922943325321930236644706855041404437584x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0xf0], rax
jmp 0x18005c2dc
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x228]
call fcn.180025f60
cmp qword [rax], 0
je 0x18005c30a
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0x50]
call fcn.180058f20
mov dword [rsp + 0x5c], eax
jmp 0x18005c3bc
mov rcx, qword [rsp + 0x220]
call fcn.180025f60
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rax]
sub rax, rcx
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x220]
call fcn.180062a70
add rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0x220]
call fcn.180063130
mov rax, qword [rax]
and rax, 3
mov rcx, qword [rsp + 0xc8]
mov r9, rcx
mov rcx, qword [rsp + 0xb8]
mov r8, rcx
mov edx, eax
lea rcx, [rsp + 0x1d0]
call fcn.180056c20
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x3c]
or eax, 1
mov dword [rsp + 0x3c], eax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.180058f20
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x3c]
and eax, 1
test eax, eax
je 0x18005c3e1
and dword [rsp + 0x3c], 0xfffffffe
lea rcx, [rsp + 0x1d0]
call fcn.18001c740
mov eax, 0x11
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x180095500]
cmp dword [rcx + rax*4], 1
jne 0x18005c420
movsx rax, word [rsp + 0x30]
lea rcx, [0x180095500]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x30]
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
cmp dword [rsp + 0x64], 0
je 0x18005c430
mov eax, dword [rsp + 0x64]
jmp 0x18005c58e
lea rax, [0x18008ae64]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18005c4ab
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x18005c4ab
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x110]
call fcn.180063230
mov eax, dword [rax + 4]
cmp dword [rsp + 0x50], eax
je 0x18005c4cb
mov eax, 0xfffffffd
jmp 0x18005c58e
lea rcx, [rsp + 0x110]
call fcn.180063230
mov r8d, SafeArrayGetDim
mov rdx, rax
mov rcx, qword [rsp + 0x238]
call fcn.180049bd0
lea rcx, [rsp + 0x110]
call fcn.18005a7b0
movzx eax, al
test eax, eax
jne 0x18005c50c
mov eax, 0xfffffffc
jmp 0x18005c58e
xor eax, eax
jmp 0x18005c58e
add rsp, 0x218
ret