Function at 0x180001ba0
Capabilities:
Get geographical location

Disassembly:
jmp 0x180199af0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6c0
lea rdi, [rsp + 0x30]
mov ecx, 0x1a4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x6b8], rax
cmp qword [rsp + 0x6e0], 0x1e
jae 0x180199b48
mov qword [rsp + 0x6e0], 0x1e
mov rdx, qword [rsp + 0x6e0]
xor ecx, ecx
call sym.ProcessMonitor.dll_PhCreateStringEx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x6e0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea rcx, [0x1805a0110]
call fcn.180012d60
movzx eax, al
test eax, eax
je 0x180199c74
mov r9d, 4
lea r8, [rsp + 0x78]
mov edx, 0xe
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x180199bef
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x78]
test eax, eax
je 0x180199bef
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x78]
test eax, eax
jne 0x180199bef
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x78]
mov word [0x1805a0120], ax
mov r9d, 4
lea r8, [rsp + 0x78]
mov edx, 0xf
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x180199c47
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x78]
test eax, eax
je 0x180199c47
mov eax, 2
imul rax, rax, 1
movzx eax, word [rsp + rax + 0x78]
test eax, eax
jne 0x180199c47
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x78]
mov word [0x1805a0124], ax
movzx eax, word [0x1805a0120]
cmp eax, 0x2e
je 0x180199c68
lea rdx, [0x18039c4c4]
xor ecx, ecx
call fcn.180018300
mov qword [0x1808e94c8], rax
lea rcx, [0x1805a0110]
call sym.ProcessMonitor.dll_PhfEndInitOnce
mov eax, dword [rsp + 0x6d8]
mov dword [rsp + 0x664], eax
mov eax, dword [rsp + 0x6d8]
dec eax
mov dword [rsp + 0x6d8], eax
cmp dword [rsp + 0x664], 0
je 0x18019c11c
mov rax, qword [rsp + 0x6d0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x6d0]
add rax, 0x20
mov qword [rsp + 0x6d0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x4b4], 0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x3f
mov dword [rsp + 0x668], eax
cmp dword [rsp + 0x668], 0xc
ja case.default.0x180199d17
movsxd rax, dword [rsp + 0x668]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x19c17c]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x60]
add rax, 2
cmp qword [rsp + 0x48], rax
jae 0x180199d69
mov r9d, 2
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne case.0x180199d17.0
xor eax, eax
cmp eax, 1
je 0x180199d8a
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 0x10]
mov word [rax], cx
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x180199d8a
jmp case.default.0x180199d17
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
jae 0x180199e15
mov rax, qword [rsp + 0x88]
mov r9, qword [rax + 0x10]
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne case.0x180199d17.1
xor eax, eax
cmp eax, 1
je 0x180199e44
mov rax, qword [rsp + 0x88]
mov r8, qword [rax + 0x10]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x58]
call fcn.18000cf00
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x180199e44
jmp case.default.0x180199d17
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x10]
call sym.ProcessMonitor.dll_PhCountStringZ
mov qword [rsp + 0x4c8], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x4c8]
lea rax, [rax + rcx*2]
cmp qword [rsp + 0x48], rax
jae 0x180199f08
mov rax, qword [rsp + 0x4c8]
add rax, rax
mov r9, rax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x180199ea8
xor eax, eax
cmp eax, 1
je 0x180199f39
mov rax, qword [rsp + 0x4c8]
add rax, rax
mov r8, rax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
call fcn.18000cf00
mov rax, qword [rsp + 0x4c8]
add rax, rax
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x4c8]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x180199f39
jmp case.default.0x180199d17
mov rax, qword [rsp + 0x88]
cmp dword [rax], 3
jne 0x180199fb4
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x4e8], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x4f0], rax
jmp 0x180199fdd
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x4e8], rax
mov rcx, qword [rsp + 0x4e8]
call fcn.18000c070
mov qword [rsp + 0x4f0], rax
mov r8d, dword [rsp + 0x4f0]
mov rdx, qword [rsp + 0x4e8]
lea rcx, [rsp + 0x4d4]
call qword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
jl 0x18019a0d4
mov eax, dword [rsp + 0x4d4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
jae 0x18019a060
mov eax, dword [rsp + 0x4d4]
mov r9d, eax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019a003
xor eax, eax
test eax, eax
jne 0x18019a098
mov eax, dword [rsp + 0x4f0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x4e8]
xor r8d, r8d
mov edx, dword [rsp + 0x4d4]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
jl 0x18019a0d4
mov eax, dword [rsp + 0x4d4]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4d4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019a098
jmp case.default.0x180199d17
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x4b8], eax
cmp dword [rsp + 0x4b8], 0
jge 0x18019a116
mov eax, dword [rsp + 0x4b8]
neg eax
mov dword [rsp + 0x4b8], eax
mov eax, dword [rsp + 0x4b4]
or eax, 1
mov dword [rsp + 0x4b4], eax
jmp 0x18019a12a
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x4b8], eax
mov byte [rsp + 0x660], 0
mov dword [rsp + 0x4f8], 0xa
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
je 0x18019a185
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
cmp eax, 2
jl 0x18019a185
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
cmp eax, 0x45
jg 0x18019a185
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
mov dword [rsp + 0x4f8], eax
lea rax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
mov qword [rsp + 0x500], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x20000000
test eax, eax
je 0x18019a1b6
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov qword [rsp + 0x500], rax
lea rax, [rsp + 0x4ae]
mov qword [rsp + 0x508], rax
mov dword [rsp + 0x510], 0
cmp dword [rsp + 0x4b8], 0
je 0x18019a37b
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x10000
test eax, eax
je 0x18019a2f2
mov dword [rsp + 0x520], 0
xor edx, edx
mov eax, dword [rsp + 0x4b8]
div dword [rsp + 0x4f8]
mov eax, edx
mov dword [rsp + 0x514], eax
xor edx, edx
mov eax, dword [rsp + 0x4b8]
div dword [rsp + 0x4f8]
mov dword [rsp + 0x4b8], eax
mov eax, dword [rsp + 0x514]
mov rcx, qword [rsp + 0x500]
movsx ax, byte [rcx + rax]
mov rcx, qword [rsp + 0x508]
mov word [rcx], ax
mov rax, qword [rsp + 0x508]
sub rax, 2
mov qword [rsp + 0x508], rax
mov eax, dword [rsp + 0x510]
inc eax
mov dword [rsp + 0x510], eax
xor eax, eax
test eax, eax
jne 0x18019a201
mov eax, dword [rsp + 0x520]
inc eax
mov dword [rsp + 0x520], eax
cmp dword [rsp + 0x520], 3
jne 0x18019a2df
cmp dword [rsp + 0x4b8], 0
je 0x18019a2df
mov rax, qword [rsp + 0x508]
movzx ecx, word [0x1805a0124]
mov word [rax], cx
mov rax, qword [rsp + 0x508]
sub rax, 2
mov qword [rsp + 0x508], rax
mov eax, dword [rsp + 0x510]
inc eax
mov dword [rsp + 0x510], eax
mov dword [rsp + 0x520], 0
cmp dword [rsp + 0x4b8], 0
jne 0x18019a201
jmp 0x18019a379
xor edx, edx
mov eax, dword [rsp + 0x4b8]
div dword [rsp + 0x4f8]
mov eax, edx
mov dword [rsp + 0x514], eax
xor edx, edx
mov eax, dword [rsp + 0x4b8]
div dword [rsp + 0x4f8]
mov dword [rsp + 0x4b8], eax
mov eax, dword [rsp + 0x514]
mov rcx, qword [rsp + 0x500]
movsx ax, byte [rcx + rax]
mov rcx, qword [rsp + 0x508]
mov word [rcx], ax
mov rax, qword [rsp + 0x508]
sub rax, 2
mov qword [rsp + 0x508], rax
mov eax, dword [rsp + 0x510]
inc eax
mov dword [rsp + 0x510], eax
xor eax, eax
test eax, eax
jne 0x18019a2f2
cmp dword [rsp + 0x4b8], 0
jne 0x18019a2f2
jmp 0x18019a3af
mov eax, 0x30
mov rcx, qword [rsp + 0x508]
mov word [rcx], ax
mov rax, qword [rsp + 0x508]
sub rax, 2
mov qword [rsp + 0x508], rax
mov eax, dword [rsp + 0x510]
inc eax
mov dword [rsp + 0x510], eax
mov dword [rsp + 0x518], 0
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019a3da
mov eax, dword [rsp + 0x518]
inc eax
mov dword [rsp + 0x518], eax
jmp 0x18019a3fd
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x20000
test eax, eax
je 0x18019a3fd
mov eax, dword [rsp + 0x518]
inc eax
mov dword [rsp + 0x518], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x40000
test eax, eax
je 0x18019a4bc
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x10000
test eax, eax
jne 0x18019a4bc
mov eax, dword [rsp + 0x510]
mov ecx, dword [rsp + 0x518]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jae 0x18019a4bc
mov eax, dword [rsp + 0x4b4]
or eax, 4
mov dword [rsp + 0x4b4], eax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 6]
mov ecx, dword [rsp + 0x510]
mov edx, dword [rsp + 0x518]
add edx, ecx
mov ecx, edx
sub eax, ecx
mov byte [rsp + 0x660], 1
mov dword [rsp + 0x51c], eax
cmp byte [rsp + 0x660], 0
jne 0x18019a4a3
lea rcx, [0x1804bd1e0]
call fcn.180004f00
mov eax, dword [rsp + 0x51c]
mov ecx, dword [rsp + 0x518]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x518], eax
mov rax, qword [rsp + 0x508]
add rax, 2
mov qword [rsp + 0x508], rax
mov eax, dword [rsp + 0x510]
mov ecx, dword [rsp + 0x518]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
cmp qword [rsp + 0x48], rax
jae 0x18019a548
mov eax, dword [rsp + 0x510]
mov ecx, dword [rsp + 0x518]
add ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 1
mov r9, rax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019a4d0
xor eax, eax
cmp eax, 1
je 0x18019a64d
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019a584
mov eax, 0x2d
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
jmp 0x18019a5b2
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x20000
test eax, eax
je 0x18019a5b2
mov eax, 0x2b
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4b4]
and eax, 4
test eax, eax
je 0x18019a619
cmp byte [rsp + 0x660], 0
jne 0x18019a5d6
lea rcx, [0x1804bd1e0]
call fcn.180004f00
mov eax, dword [rsp + 0x51c]
mov r8d, eax
mov dx, 0x30
mov rcx, qword [rsp + 0x58]
call fcn.180013f40
cmp byte [rsp + 0x660], 0
jne 0x18019a604
lea rcx, [0x1804bd1e0]
call fcn.180004f00
mov eax, dword [rsp + 0x51c]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x510]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x508]
mov rcx, qword [rsp + 0x58]
call fcn.18000cf00
mov eax, dword [rsp + 0x510]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x510]
mov ecx, dword [rsp + 0x518]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019a12a
jmp case.default.0x180199d17
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x4c0], rax
jmp 0x18019a6a8
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x4c0], rax
cmp qword [rsp + 0x4c0], 0
jge 0x18019a6d7
mov rax, qword [rsp + 0x4c0]
neg rax
mov qword [rsp + 0x4c0], rax
mov eax, dword [rsp + 0x4b4]
or eax, 1
mov dword [rsp + 0x4b4], eax
jmp 0x18019a703
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x4c0], rax
jmp 0x18019a703
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x4c0], rax
mov byte [rsp + 0x661], 0
mov dword [rsp + 0x524], 0xa
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
je 0x18019a75e
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
cmp eax, 2
jl 0x18019a75e
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
cmp eax, 0x45
jg 0x18019a75e
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
mov dword [rsp + 0x524], eax
lea rax, str.0123456789abcdefghijklmnopqrstuvwxyz_________._:_________
mov qword [rsp + 0x528], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x20000000
test eax, eax
je 0x18019a78f
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov qword [rsp + 0x528], rax
lea rax, [rsp + 0x4ae]
mov qword [rsp + 0x530], rax
mov dword [rsp + 0x538], 0
cmp qword [rsp + 0x4c0], 0
je 0x18019a9b4
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x10000
test eax, eax
je 0x18019a8fc
mov dword [rsp + 0x548], 0
mov eax, dword [rsp + 0x524]
mov qword [rsp + 0x670], rax
xor edx, edx
mov rax, qword [rsp + 0x4c0]
mov rcx, qword [rsp + 0x670]
div rcx
mov rax, rdx
mov dword [rsp + 0x53c], eax
mov eax, dword [rsp + 0x524]
mov qword [rsp + 0x678], rax
xor edx, edx
mov rax, qword [rsp + 0x4c0]
mov rcx, qword [rsp + 0x678]
div rcx
mov qword [rsp + 0x4c0], rax
mov eax, dword [rsp + 0x53c]
mov rcx, qword [rsp + 0x528]
movsx ax, byte [rcx + rax]
mov rcx, qword [rsp + 0x530]
mov word [rcx], ax
mov rax, qword [rsp + 0x530]
sub rax, 2
mov qword [rsp + 0x530], rax
mov eax, dword [rsp + 0x538]
inc eax
mov dword [rsp + 0x538], eax
xor eax, eax
test eax, eax
jne 0x18019a7db
mov eax, dword [rsp + 0x548]
inc eax
mov dword [rsp + 0x548], eax
cmp dword [rsp + 0x548], 3
jne 0x18019a8e8
cmp qword [rsp + 0x4c0], 0
je 0x18019a8e8
mov rax, qword [rsp + 0x530]
movzx ecx, word [0x1805a0124]
mov word [rax], cx
mov rax, qword [rsp + 0x530]
sub rax, 2
mov qword [rsp + 0x530], rax
mov eax, dword [rsp + 0x538]
inc eax
mov dword [rsp + 0x538], eax
mov dword [rsp + 0x548], 0
cmp qword [rsp + 0x4c0], 0
jne 0x18019a7db
jmp 0x18019a9b2
mov eax, dword [rsp + 0x524]
mov qword [rsp + 0x680], rax
xor edx, edx
mov rax, qword [rsp + 0x4c0]
mov rcx, qword [rsp + 0x680]
div rcx
mov rax, rdx
mov dword [rsp + 0x53c], eax
mov eax, dword [rsp + 0x524]
mov qword [rsp + 0x688], rax
xor edx, edx
mov rax, qword [rsp + 0x4c0]
mov rcx, qword [rsp + 0x688]
div rcx
mov qword [rsp + 0x4c0], rax
mov eax, dword [rsp + 0x53c]
mov rcx, qword [rsp + 0x528]
movsx ax, byte [rcx + rax]
mov rcx, qword [rsp + 0x530]
mov word [rcx], ax
mov rax, qword [rsp + 0x530]
sub rax, 2
mov qword [rsp + 0x530], rax
mov eax, dword [rsp + 0x538]
inc eax
mov dword [rsp + 0x538], eax
xor eax, eax
test eax, eax
jne 0x18019a8fc
cmp qword [rsp + 0x4c0], 0
jne 0x18019a8fc
jmp 0x18019a9e8
mov eax, 0x30
mov rcx, qword [rsp + 0x530]
mov word [rcx], ax
mov rax, qword [rsp + 0x530]
sub rax, 2
mov qword [rsp + 0x530], rax
mov eax, dword [rsp + 0x538]
inc eax
mov dword [rsp + 0x538], eax
mov dword [rsp + 0x540], 0
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019aa13
mov eax, dword [rsp + 0x540]
inc eax
mov dword [rsp + 0x540], eax
jmp 0x18019aa36
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x20000
test eax, eax
je 0x18019aa36
mov eax, dword [rsp + 0x540]
inc eax
mov dword [rsp + 0x540], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x40000
test eax, eax
je 0x18019aaf5
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x10000
test eax, eax
jne 0x18019aaf5
mov eax, dword [rsp + 0x538]
mov ecx, dword [rsp + 0x540]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jae 0x18019aaf5
mov eax, dword [rsp + 0x4b4]
or eax, 4
mov dword [rsp + 0x4b4], eax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 6]
mov ecx, dword [rsp + 0x538]
mov edx, dword [rsp + 0x540]
add edx, ecx
mov ecx, edx
sub eax, ecx
mov byte [rsp + 0x661], 1
mov dword [rsp + 0x544], eax
cmp byte [rsp + 0x661], 0
jne 0x18019aadc
lea rcx, [0x1804bd1f0]
call fcn.180004f00
mov eax, dword [rsp + 0x544]
mov ecx, dword [rsp + 0x540]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x540], eax
mov rax, qword [rsp + 0x530]
add rax, 2
mov qword [rsp + 0x530], rax
mov eax, dword [rsp + 0x538]
mov ecx, dword [rsp + 0x540]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
cmp qword [rsp + 0x48], rax
jae 0x18019ab81
mov eax, dword [rsp + 0x538]
mov ecx, dword [rsp + 0x540]
add ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 1
mov r9, rax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019ab09
xor eax, eax
cmp eax, 1
je 0x18019ac86
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019abbd
mov eax, 0x2d
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
jmp 0x18019abeb
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x20000
test eax, eax
je 0x18019abeb
mov eax, 0x2b
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4b4]
and eax, 4
test eax, eax
je 0x18019ac52
cmp byte [rsp + 0x661], 0
jne 0x18019ac0f
lea rcx, [0x1804bd1f0]
call fcn.180004f00
mov eax, dword [rsp + 0x544]
mov r8d, eax
mov dx, 0x30
mov rcx, qword [rsp + 0x58]
call fcn.180013f40
cmp byte [rsp + 0x661], 0
jne 0x18019ac3d
lea rcx, [0x1804bd1f0]
call fcn.180004f00
mov eax, dword [rsp + 0x544]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x538]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x530]
mov rcx, qword [rsp + 0x58]
call fcn.18000cf00
mov eax, dword [rsp + 0x538]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x538]
mov ecx, dword [rsp + 0x540]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019a703
jmp case.default.0x180199d17
mov dword [rsp + 0x4b4], 0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x40
test eax, eax
je 0x18019ad00
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 4]
mov dword [rsp + 0x54c], eax
cmp dword [rsp + 0x54c], 0xa2
jbe 0x18019acfe
mov dword [rsp + 0x54c], 0xa2
jmp 0x18019ad0b
mov dword [rsp + 0x54c], 6
mov rax, qword [rsp + 0x88]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x550], xmm0
lea rax, [rsp + 0xb1]
mov qword [rsp + 0x558], rax
mov qword [rsp + 0x20], 0x3ff
mov r9, qword [rsp + 0x558]
mov r8d, dword [rsp + 0x54c]
mov rax, qword [rsp + 0x88]
mov edx, dword [rax]
movsd xmm0, qword [rsp + 0x550]
call fcn.18000ea00
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x8000
test eax, eax
je 0x18019ad89
mov rdx, qword [0x1808e94c8]
mov rcx, qword [rsp + 0x558]
call fcn.18000de50
mov rcx, qword [rsp + 0x558]
call fcn.18000c070
mov dword [rsp + 0x560], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x558]
movsx eax, byte [rcx + rax]
cmp eax, 0x2d
jne 0x18019aded
mov eax, dword [rsp + 0x4b4]
or eax, 1
mov dword [rsp + 0x4b4], eax
mov rax, qword [rsp + 0x558]
inc rax
mov qword [rsp + 0x558], rax
mov eax, dword [rsp + 0x560]
dec eax
mov dword [rsp + 0x560], eax
jmp 0x18019ae11
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x20000
test eax, eax
je 0x18019ae11
mov eax, dword [rsp + 0x4b4]
or eax, 2
mov dword [rsp + 0x4b4], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x10000
test eax, eax
je 0x18019b1a1
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x3000
test eax, eax
jne 0x18019b1a1
mov rax, qword [rsp + 0x558]
mov qword [rsp + 0x568], rax
mov rax, qword [rsp + 0x558]
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x570]
movsx eax, byte [rax]
sub eax, 0x30
movzx eax, al
cmp eax, 0xa
jge 0x18019ae8a
mov rax, qword [rsp + 0x570]
inc rax
mov qword [rsp + 0x570], rax
jmp 0x18019ae5f
mov rax, qword [rsp + 0x558]
mov rcx, qword [rsp + 0x570]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x578], eax
cmp dword [rsp + 0x578], 0
je 0x18019aecf
mov eax, dword [rsp + 0x578]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
dec eax
mov dword [rsp + 0x57c], eax
jmp 0x18019aeda
mov dword [rsp + 0x57c], 0
mov eax, dword [rsp + 0x57c]
mov ecx, dword [rsp + 0x560]
add ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 1
mov dword [rsp + 0x580], eax
mov eax, dword [rsp + 0x4b4]
and eax, 3
test eax, eax
je 0x18019af18
mov eax, dword [rsp + 0x580]
add rax, 2
mov dword [rsp + 0x580], eax
mov eax, dword [rsp + 0x580]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
jae 0x18019af75
mov eax, dword [rsp + 0x580]
mov r9d, eax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019af18
mov eax, dword [rsp + 0x578]
mov dword [rsp + 0x584], eax
mov eax, dword [rsp + 0x578]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x588], eax
xor eax, eax
cmp eax, 1
je 0x18019b0e6
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019afdb
mov eax, 0x2d
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
jmp 0x18019b004
mov eax, dword [rsp + 0x4b4]
and eax, 2
test eax, eax
je 0x18019b004
mov eax, 0x2b
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x584]
mov dword [rsp + 0x690], eax
mov eax, dword [rsp + 0x584]
dec eax
mov dword [rsp + 0x584], eax
cmp dword [rsp + 0x690], 0
je 0x18019b0e6
mov rax, qword [rsp + 0x568]
movsx ax, byte [rax]
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x568]
inc rax
mov qword [rsp + 0x568], rax
mov eax, dword [rsp + 0x588]
mov dword [rsp + 0x694], eax
mov eax, dword [rsp + 0x588]
dec eax
mov dword [rsp + 0x588], eax
cmp dword [rsp + 0x694], 0
jne 0x18019b09a
mov dword [rsp + 0x698], 1
jmp 0x18019b0a5
mov dword [rsp + 0x698], 0
cmp dword [rsp + 0x698], 0
je 0x18019b0e1
cmp dword [rsp + 0x584], 0
je 0x18019b0e1
mov rax, qword [rsp + 0x58]
movzx ecx, word [0x1805a0124]
mov word [rax], cx
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x588], 2
jmp 0x18019b004
mov eax, dword [rsp + 0x4b4]
and eax, 3
test eax, eax
je 0x18019b102
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x57c]
mov ecx, dword [rsp + 0x578]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x578]
mov ecx, dword [rsp + 0x560]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x584], eax
xor eax, eax
cmp eax, 1
je 0x18019b19c
mov eax, dword [rsp + 0x584]
mov r8, qword [rsp + 0x58]
mov edx, eax
mov rcx, qword [rsp + 0x570]
call sym.ProcessMonitor.dll_PhZeroExtendToUtf16Buffer
mov eax, dword [rsp + 0x584]
shl rax, 1
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x584]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019b15f
jmp 0x18019b446
mov byte [rsp + 0x662], 0
mov qword [rsp + 0x590], 0
mov eax, dword [rsp + 0x4b4]
and eax, 3
test eax, eax
je 0x18019b1d6
mov rax, qword [rsp + 0x590]
inc rax
mov qword [rsp + 0x590], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x40000
test eax, eax
je 0x18019b28c
mov eax, dword [rsp + 0x560]
mov rcx, qword [rsp + 0x590]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 6]
cmp rax, rcx
jae 0x18019b28c
mov eax, dword [rsp + 0x4b4]
or eax, 4
mov dword [rsp + 0x4b4], eax
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 6]
mov ecx, dword [rsp + 0x560]
mov rdx, qword [rsp + 0x590]
add rdx, rcx
mov rcx, rdx
sub rax, rcx
mov byte [rsp + 0x662], 1
mov qword [rsp + 0x598], rax
cmp byte [rsp + 0x662], 0
jne 0x18019b26e
lea rcx, [0x1804bd200]
call fcn.180004f00
mov rax, qword [rsp + 0x598]
mov rcx, qword [rsp + 0x590]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x590], rax
mov eax, dword [rsp + 0x560]
mov rcx, qword [rsp + 0x590]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
cmp qword [rsp + 0x48], rax
jae 0x18019b306
mov eax, dword [rsp + 0x560]
mov rcx, qword [rsp + 0x590]
add rcx, rax
mov rax, rcx
shl rax, 1
mov r9, rax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019b28c
xor eax, eax
cmp eax, 1
je 0x18019b3d1
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019b342
mov eax, 0x2d
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
jmp 0x18019b36b
mov eax, dword [rsp + 0x4b4]
and eax, 2
test eax, eax
je 0x18019b36b
mov eax, 0x2b
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4b4]
and eax, 4
test eax, eax
je 0x18019b3d1
cmp byte [rsp + 0x662], 0
jne 0x18019b38f
lea rcx, [0x1804bd200]
call fcn.180004f00
mov r8, qword [rsp + 0x598]
mov dx, 0x30
mov rcx, qword [rsp + 0x58]
call fcn.180013f40
cmp byte [rsp + 0x662], 0
jne 0x18019b3bb
lea rcx, [0x1804bd200]
call fcn.180004f00
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x598]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x590]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x60], rax
xor eax, eax
cmp eax, 1
je 0x18019b446
mov eax, dword [rsp + 0x560]
mov r8, qword [rsp + 0x58]
mov edx, eax
mov rcx, qword [rsp + 0x558]
call sym.ProcessMonitor.dll_PhZeroExtendToUtf16Buffer
mov eax, dword [rsp + 0x560]
shl rax, 1
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x560]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019b409
xor eax, eax
test eax, eax
jne 0x18019acc2
jmp case.default.0x180199d17
mov dword [rsp + 0x5a0], 0
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
test rax, rax
jl 0x18019b478
cvtsi2sd xmm0, rax
jmp 0x18019b491
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
movsd qword [rsp + 0x5a8], xmm0
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x10], 0
jne 0x18019b53e
mov rax, qword [rsp + 0x60]
add rax, 2
cmp qword [rsp + 0x48], rax
jae 0x18019b4fd
mov r9d, 2
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019b4ad
xor eax, eax
cmp eax, 1
je 0x18019b517
mov eax, 0x30
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019b517
jmp case.default.0x180199d17
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x100
test eax, eax
je 0x18019b566
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax + 0xa]
mov dword [rsp + 0x5a4], eax
jmp 0x18019b573
mov eax, dword [0x18059fc24]
mov dword [rsp + 0x5a4], eax
movsd xmm0, qword [rsp + 0x5a8]
comisd xmm0, xmmword [0x1804a2828]
jb 0x18019b5cf
mov eax, dword [rsp + 0x5a0]
cmp rax, 7
jae 0x18019b5cf
mov eax, dword [rsp + 0x5a4]
cmp dword [rsp + 0x5a0], eax
jae 0x18019b5cf
movsd xmm0, qword [rsp + 0x5a8]
divsd xmm0, qword [0x1804bd628]
movsd qword [rsp + 0x5a8], xmm0
mov eax, dword [rsp + 0x5a0]
inc eax
mov dword [rsp + 0x5a0], eax
jmp 0x18019b573
mov dword [rsp + 0x5b8], 0x1804b
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x40
test eax, eax
je 0x18019b600
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 4]
mov dword [rsp + 0x69c], eax
jmp 0x18019b60b
mov dword [rsp + 0x69c], 2
movzx eax, word [rsp + 0x69c]
mov word [rsp + 0x5bc], ax
xor eax, eax
mov word [rsp + 0x5be], ax
movsd xmm0, qword [rsp + 0x5a8]
movsd qword [rsp + 0x5c8], xmm0
mov dword [rsp + 0x4b4], 0
mov eax, dword [rsp + 0x5b8]
and eax, 0x40
test eax, eax
je 0x18019b679
movzx eax, word [rsp + 0x5bc]
mov dword [rsp + 0x5e4], eax
cmp dword [rsp + 0x5e4], 0xa2
jbe 0x18019b677
mov dword [rsp + 0x5e4], 0xa2
jmp 0x18019b684
mov dword [rsp + 0x5e4], 6
movsd xmm0, qword [rsp + 0x5c8]
movsd qword [rsp + 0x5e8], xmm0
lea rax, [rsp + 0xb1]
mov qword [rsp + 0x5f0], rax
mov qword [rsp + 0x20], 0x3ff
mov r9, qword [rsp + 0x5f0]
mov r8d, dword [rsp + 0x5e4]
mov edx, dword [rsp + 0x5b8]
movsd xmm0, qword [rsp + 0x5e8]
call fcn.18000ea00
mov eax, dword [rsp + 0x5b8]
and eax, 0x8000
test eax, eax
je 0x18019b6f8
mov rdx, qword [0x1808e94c8]
mov rcx, qword [rsp + 0x5f0]
call fcn.18000de50
mov rcx, qword [rsp + 0x5f0]
call fcn.18000c070
mov dword [rsp + 0x5f8], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x5f0]
movsx eax, byte [rcx + rax]
cmp eax, 0x2d
jne 0x18019b75c
mov eax, dword [rsp + 0x4b4]
or eax, 1
mov dword [rsp + 0x4b4], eax
mov rax, qword [rsp + 0x5f0]
inc rax
mov qword [rsp + 0x5f0], rax
mov eax, dword [rsp + 0x5f8]
dec eax
mov dword [rsp + 0x5f8], eax
jmp 0x18019b77d
mov eax, dword [rsp + 0x5b8]
and eax, 0x20000
test eax, eax
je 0x18019b77d
mov eax, dword [rsp + 0x4b4]
or eax, 2
mov dword [rsp + 0x4b4], eax
mov eax, dword [rsp + 0x5b8]
and eax, 0x10000
test eax, eax
je 0x18019bb07
mov eax, dword [rsp + 0x5b8]
and eax, 0x3000
test eax, eax
jne 0x18019bb07
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x600], rax
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x608], rax
mov rax, qword [rsp + 0x608]
movsx eax, byte [rax]
sub eax, 0x30
movzx eax, al
cmp eax, 0xa
jge 0x18019b7f0
mov rax, qword [rsp + 0x608]
inc rax
mov qword [rsp + 0x608], rax
jmp 0x18019b7c5
mov rax, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x608]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x610], eax
cmp dword [rsp + 0x610], 0
je 0x18019b835
mov eax, dword [rsp + 0x610]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
dec eax
mov dword [rsp + 0x614], eax
jmp 0x18019b840
mov dword [rsp + 0x614], 0
mov eax, dword [rsp + 0x614]
mov ecx, dword [rsp + 0x5f8]
add ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 1
mov dword [rsp + 0x618], eax
mov eax, dword [rsp + 0x4b4]
and eax, 3
test eax, eax
je 0x18019b87e
mov eax, dword [rsp + 0x618]
add rax, 2
mov dword [rsp + 0x618], eax
mov eax, dword [rsp + 0x618]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
jae 0x18019b8db
mov eax, dword [rsp + 0x618]
mov r9d, eax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019b87e
mov eax, dword [rsp + 0x610]
mov dword [rsp + 0x61c], eax
mov eax, dword [rsp + 0x610]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
mov eax, edx
mov dword [rsp + 0x620], eax
xor eax, eax
cmp eax, 1
je 0x18019ba4c
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019b941
mov eax, 0x2d
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
jmp 0x18019b96a
mov eax, dword [rsp + 0x4b4]
and eax, 2
test eax, eax
je 0x18019b96a
mov eax, 0x2b
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x61c]
mov dword [rsp + 0x6a0], eax
mov eax, dword [rsp + 0x61c]
dec eax
mov dword [rsp + 0x61c], eax
cmp dword [rsp + 0x6a0], 0
je 0x18019ba4c
mov rax, qword [rsp + 0x600]
movsx ax, byte [rax]
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x600]
inc rax
mov qword [rsp + 0x600], rax
mov eax, dword [rsp + 0x620]
mov dword [rsp + 0x6a4], eax
mov eax, dword [rsp + 0x620]
dec eax
mov dword [rsp + 0x620], eax
cmp dword [rsp + 0x6a4], 0
jne 0x18019ba00
mov dword [rsp + 0x6a8], 1
jmp 0x18019ba0b
mov dword [rsp + 0x6a8], 0
cmp dword [rsp + 0x6a8], 0
je 0x18019ba47
cmp dword [rsp + 0x61c], 0
je 0x18019ba47
mov rax, qword [rsp + 0x58]
movzx ecx, word [0x1805a0124]
mov word [rax], cx
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x620], 2
jmp 0x18019b96a
mov eax, dword [rsp + 0x4b4]
and eax, 3
test eax, eax
je 0x18019ba68
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x614]
mov ecx, dword [rsp + 0x610]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x610]
mov ecx, dword [rsp + 0x5f8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x61c], eax
xor eax, eax
cmp eax, 1
je 0x18019bb02
mov eax, dword [rsp + 0x61c]
mov r8, qword [rsp + 0x58]
mov edx, eax
mov rcx, qword [rsp + 0x608]
call sym.ProcessMonitor.dll_PhZeroExtendToUtf16Buffer
mov eax, dword [rsp + 0x61c]
shl rax, 1
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x61c]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019bac5
jmp 0x18019bda1
mov byte [rsp + 0x663], 0
mov qword [rsp + 0x628], 0
mov eax, dword [rsp + 0x4b4]
and eax, 3
test eax, eax
je 0x18019bb3c
mov rax, qword [rsp + 0x628]
inc rax
mov qword [rsp + 0x628], rax
mov eax, dword [rsp + 0x5b8]
and eax, 0x40000
test eax, eax
je 0x18019bbe7
mov eax, dword [rsp + 0x5f8]
mov rcx, qword [rsp + 0x628]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x5be]
cmp rax, rcx
jae 0x18019bbe7
mov eax, dword [rsp + 0x4b4]
or eax, 4
mov dword [rsp + 0x4b4], eax
movzx eax, word [rsp + 0x5be]
mov ecx, dword [rsp + 0x5f8]
mov rdx, qword [rsp + 0x628]
add rdx, rcx
mov rcx, rdx
sub rax, rcx
mov byte [rsp + 0x663], 1
mov qword [rsp + 0x630], rax
cmp byte [rsp + 0x663], 0
jne 0x18019bbc9
lea rcx, [0x1804bd210]
call fcn.180004f00
mov rax, qword [rsp + 0x630]
mov rcx, qword [rsp + 0x628]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x628], rax
mov eax, dword [rsp + 0x5f8]
mov rcx, qword [rsp + 0x628]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
cmp qword [rsp + 0x48], rax
jae 0x18019bc61
mov eax, dword [rsp + 0x5f8]
mov rcx, qword [rsp + 0x628]
add rcx, rax
mov rax, rcx
shl rax, 1
mov r9, rax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019bbe7
xor eax, eax
cmp eax, 1
je 0x18019bd2c
mov eax, dword [rsp + 0x4b4]
and eax, 1
test eax, eax
je 0x18019bc9d
mov eax, 0x2d
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
jmp 0x18019bcc6
mov eax, dword [rsp + 0x4b4]
and eax, 2
test eax, eax
je 0x18019bcc6
mov eax, 0x2b
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x4b4]
and eax, 4
test eax, eax
je 0x18019bd2c
cmp byte [rsp + 0x663], 0
jne 0x18019bcea
lea rcx, [0x1804bd210]
call fcn.180004f00
mov r8, qword [rsp + 0x630]
mov dx, 0x30
mov rcx, qword [rsp + 0x58]
call fcn.180013f40
cmp byte [rsp + 0x663], 0
jne 0x18019bd16
lea rcx, [0x1804bd210]
call fcn.180004f00
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x630]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x628]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x60], rax
xor eax, eax
cmp eax, 1
je 0x18019bda1
mov eax, dword [rsp + 0x5f8]
mov r8, qword [rsp + 0x58]
mov edx, eax
mov rcx, qword [rsp + 0x5f0]
call sym.ProcessMonitor.dll_PhZeroExtendToUtf16Buffer
mov eax, dword [rsp + 0x5f8]
shl rax, 1
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x5f8]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019bd64
xor eax, eax
test eax, eax
jne 0x18019b642
mov eax, dword [rsp + 0x5a0]
imul rax, rax, 0x10
lea rcx, [0x1805a00a0]
mov rax, qword [rcx + rax]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 2]
cmp qword [rsp + 0x48], rax
jae 0x18019be29
mov eax, dword [rsp + 0x5a0]
imul rax, rax, 0x10
lea rcx, [0x1805a00a0]
mov rax, qword [rcx + rax]
add rax, 2
mov r9, rax
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019bdab
xor eax, eax
cmp eax, 1
je 0x18019be95
mov eax, 0x20
mov rcx, qword [rsp + 0x58]
mov word [rcx], ax
mov eax, dword [rsp + 0x5a0]
imul rax, rax, 0x10
lea rcx, [0x1805a00a0]
mov edx, dword [rsp + 0x5a0]
imul rdx, rdx, 0x10
lea r8, [0x1805a00a0]
mov qword [rsp + 0x6b0], r8
mov r9, qword [rsp + 0x58]
add r9, 2
mov r8, qword [rcx + rax]
mov rax, qword [rsp + 0x6b0]
mov rdx, qword [rax + rdx + 8]
mov rcx, r9
call fcn.18000cf00
mov eax, dword [rsp + 0x5a0]
imul rax, rax, 0x10
lea rcx, [0x1805a00a0]
mov rax, qword [rcx + rax]
add rax, 2
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x5a0]
imul rax, rax, 0x10
lea rcx, [0x1805a00a0]
mov rax, qword [rcx + rax]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 2]
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019be95
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0xc0000000
test eax, eax
je 0x18019c117
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 6]
shl rax, 1
mov qword [rsp + 0x638], rax
mov rax, qword [rsp + 0x638]
cmp qword [rsp + 0x90], rax
jae 0x18019c117
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x638]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x640], rax
mov rax, qword [rsp + 0x640]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x48], rax
jae 0x18019bfcb
mov r9, qword [rsp + 0x640]
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.180005bf0
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
xor eax, eax
test eax, eax
jne 0x18019bf6f
xor eax, eax
cmp eax, 1
je 0x18019c0d9
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x80
test eax, eax
je 0x18019c005
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 8]
mov word [rsp + 0x648], ax
jmp 0x18019c012
mov eax, 0x20
mov word [rsp + 0x648], ax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
and eax, 0x80000000
test eax, eax
je 0x18019c051
xor edx, edx
mov rax, qword [rsp + 0x640]
mov ecx, 2
div rcx
mov r8, rax
movzx edx, word [rsp + 0x648]
mov rcx, qword [rsp + 0x58]
call fcn.180013f40
jmp 0x18019c0d9
xor edx, edx
mov rax, qword [rsp + 0x90]
mov ecx, 2
div rcx
shl rax, 1
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x650], rax
xor edx, edx
mov rax, qword [rsp + 0x640]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x650]
lea rax, [rcx + rax*2]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x650]
mov rcx, rax
call fcn.18001a7e0
xor edx, edx
mov rax, qword [rsp + 0x640]
mov ecx, 2
div rcx
mov r8, rax
movzx edx, word [rsp + 0x648]
mov rcx, qword [rsp + 0x650]
call fcn.180013f40
xor edx, edx
mov rax, qword [rsp + 0x640]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x640]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x18019c0d9
jmp 0x180199c74
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
xor edx, edx
mov rax, qword [rsp + 0x60]
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
xor edx, edx
mov word [rcx + rax*2], dx
mov rax, qword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804bd3c0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x6b8]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x6c0
pop rdi
ret