Function at 0x180019940
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov edi, dword [rsp + 0x128]
xor r12d, r12d
movaps xmmword [rax - 0x48], xmm6
mov rbp, r8
movaps xmmword [rax - 0x58], xmm7
mov r11, rdx
mov r13, rcx
mov r14d, edi
lea r15d, [rdi - 0x12]
cmp edi, r15d
jbe 0x180019f3d
mov eax, dword [rsp + 0x128]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov edx, dword [rsp + 0x128]
mov rbx, qword [rsp + 0x120]
movss xmm6, dword [0x180138aa0]
movss xmm7, dword [0x1801389cc]
mov r12d, dword [rsp + 0x128]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x80], rcx
mov dword [rsp + 0x50], edx
lea eax, [r14 - 0xa3]
lea r8, [0x180000000]
cmp eax, 0x5c
ja case.0x180019a13.170
movzx eax, byte [r8 + rax + 0x1aab4]
mov ecx, dword [r8 + rax*4 + 0x1aa6c]
add rcx, r8
jmp rcx
cmp dword [rsi + 4], 0
jne 0x180019a63
mov edi, 0x22
mov eax, edi
sub eax, 0x21
je case.0x180019a13.163
cmp eax, 1
jne 0x180019a5c
xor eax, eax
lea rcx, str.CalibrationUnits
mov qword [rsp + 0x30], rax
mov r9d, 0x111
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.180070ab0
mov dword [rsp + 0x48], eax
dec edi
cmp edi, 0x20
ja 0x180019a20
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov edx, 0xe0
xor ecx, ecx
call fcn.18003f630
mov edx, dword [rsp + 0x50]
mov dword [rsi], eax
jmp case.0x180019a13.170
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x58], 1
jmp case.0x180019a13.170
mov rsi, qword [r9]
mov qword [rsp + 0x70], rsi
jmp case.0x180019a13.170
xor esi, esi
cmp dword [rbp], esi
jle 0x180019b7f
mov ecx, dword [rbx]
nop dword [rax]
mov edi, 0xb9
cmp edi, 0xb9
je 0x180019aec
cmp edi, 0x15f
jne 0x180019b54
movsxd rax, ecx
shl rax, 2
add r13, rax
add r11, rax
mov qword [rsp + 0x108], r11
jmp 0x180019b54
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, dword [rbx]
xor r8d, r8d
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
comiss xmm7, xmm0
jbe 0x180019c50
test ecx, ecx
jle 0x180019b36
mov rdx, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
mov r9, r13
sub r9, rdx
nop
mov eax, dword [r9 + rdx]
inc r8d
mov dword [rdx], eax
lea rdx, [rdx + 4]
mov ecx, dword [rbx]
cmp r8d, ecx
jl 0x180019b20
mov eax, ecx
mov r11, qword [rsp + 0x108]
mov rdx, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
cdqe
lea rdx, [rdx + rax*4]
mov qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW], rdx
add edi, 0xa6
cmp edi, 0x205
jb 0x180019ac5
mov ecx, dword [rbx]
add esi, ecx
mov qword [rsp + 0x100], r13
cmp esi, dword [rbp]
jl 0x180019ac0
mov edx, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x70]
mov r9, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
dec r14d
mov r11, qword [rsp + 0x108]
cmp r14d, r15d
ja 0x1800199e8
mov r15, qword [rsp + 0x70]
xor r12d, r12d
mov ebx, dword [rsp + 0x58]
mov esi, dword [rsp + 0x5c]
mov edi, dword [rsp + 0x128]
mov rbp, qword [rsp + 0x80]
mov r14d, dword [rsp + 0x50]
lea ecx, [rdi + 0xbbe]
mov dword [rsp + 0x40], ecx
cmp edi, ecx
jae case.0x180019a13.163
mov r10, qword [rsp + 0x60]
mov eax, ecx
mov r8d, dword [rsp + 0x54]
mov rcx, r10
mov edx, r8d
cmp edi, 0x389
ja 0x18001a4da
je 0x18001a4cd
cmp edi, 0x1a6
ja 0x18001a186
je 0x18001a152
mov eax, edi
sub eax, 0xb7
je 0x180019fb3
sub eax, 0x36
je 0x18001a64e
sub eax, 0x12
je 0x180019f7c
cmp eax, 0x95
jne 0x18001a3d9
cmp qword [r11], 0x7fffffff
jbe 0x18001a3d9
mov dword [rsp + 0x48], 0xffffffff
jmp case.0x180019a13.163
test ecx, ecx
jle 0x180019b36
mov r11, qword [rsp + 0x108]
mov rdx, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
mov r9, r11
sub r9, rdx
nop
mov eax, dword [r9 + rdx]
inc r8d
mov dword [rdx], eax
lea rdx, [rdx + 4]
mov ecx, dword [rbx]
cmp r8d, ecx
jl 0x180019c70
mov eax, ecx
jmp 0x180019b3e
xor ecx, ecx
mov qword [rsp + 0x80], rcx
jmp case.0x180019a13.170
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov edx, 0xe0
xor ecx, ecx
call fcn.18003f630
mov edx, eax
mov dword [rsp + 0x50], eax
jmp case.0x180019a13.170
cmp dword [rsi], 0
jne case.0x180019a13.170
mov edi, 0xbb
mov eax, edi
sub eax, 0xbb
je 0x180019ce7
cmp eax, 0x6c
je case.0x180019a13.163
jmp 0x180019d13
xor eax, eax
lea rcx, str.0_width
mov qword [rsp + 0x30], rax
mov r9d, 0x111
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.180070ab0
mov dword [rsp + 0x48], eax
add edi, 0x6c
cmp edi, 0x193
jb 0x180019cd3
mov edx, dword [rsp + 0x50]
jmp case.0x180019a13.170
cmp r12d, 8
je 0x180019d7f
mov edi, 0x13
cmp edi, 0x13
je 0x180019d45
cmp edi, 0x5ca
je case.0x180019a13.163
jmp 0x180019d71
xor eax, eax
lea rcx, str.XML_Packet
mov qword [rsp + 0x30], rax
mov r9d, 0x111
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.180070ab0
mov dword [rsp + 0x48], eax
add edi, 0x5b7
cmp edi, 0xb6e
jbe 0x180019d32
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov edx, 0xe0
xor ecx, ecx
call fcn.18003f630
mov edx, dword [rsp + 0x50]
mov dword [rsi + 4], eax
jmp case.0x180019a13.170
cmp qword [r9 + 0x10], 0
mov qword [rsp + 0x80], r9
je 0x180019c43
jmp case.0x180019a13.170
test r9, r9
je 0x180019c43
jmp case.0x180019a13.170
xor edi, edi
cmp qword [r13], rdi
jbe 0x180019e58
nop dword [rax]
mov rax, qword [r11]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x88]
mov rax, qword [r9 + rdi*8]
xor r9d, r9d
mov qword [rsp + 0x60], rax
lea ecx, [r9 + 0x57]
call fcn.1800c4930
test al, al
je 0x180019e3b
mov eax, 0xc3
cmp eax, 0xc3
je 0x180019e2a
cmp eax, 0x717f
je case.0x180019a13.163
jmp 0x180019e2f
mov qword [rsp + 0x48], rdi
add eax, 0x70bc
cmp eax, 0xe178
jbe 0x180019e16
mov r9, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
inc rdi
mov r11, qword [rsp + 0x108]
cmp rdi, qword [r13]
jb 0x180019de0
mov edx, dword [rsp + 0x50]
mov qword [rsp + 0x48], 0xffffffffffffffff
jmp case.0x180019a13.170
xor r8d, r8d
nop dword [rax]
mov edx, 0x11d
mov eax, edx
sub eax, 0x11c
je 0x180019ec3
cmp eax, 1
jne 0x180019ec7
cmp qword [r9 + 0x18], 0x10
mov rcx, r9
jb 0x180019e90
mov rcx, qword [r9]
mov rax, qword [r13]
movzx ecx, byte [rcx + rax]
sub cl, 0x67
cmp cl, 0x13
jbe 0x180019ec7
mov ecx, 0x3d
mov eax, ecx
sub eax, 0x3c
je case.0x180019a13.163
cmp eax, 1
jne 0x180019eba
mov byte [rsp + 0x48], 0
dec ecx
cmp ecx, 0x3b
ja 0x180019ea5
jmp 0x180019ec7
inc qword [r13]
dec edx
cmp edx, 0x11b
ja 0x180019e75
inc r8
cmp r8, 4
jb 0x180019e70
mov edx, dword [rsp + 0x50]
jmp case.0x180019a13.170
mov byte [rsp + 0x48], 1
jmp case.0x180019a13.170
cmp edx, 0xb
jl 0x180019f20
xor edx, edx
xor r9d, r9d
mov r8, rsi
lea ecx, [rdx + 0x49]
call fcn.18009aa90
mov edx, dword [rsp + 0x50]
movzx r12d, al
jmp case.0x180019a13.170
mov qword [rsp + 0x68], 0
jmp case.0x180019a13.170
xor eax, eax
lea rcx, str._13_M1__s1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
jmp 0x18001a5c1
mov r15, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x68]
mov esi, dword [rsp + 0x128]
mov ebx, dword [rsp + 0x128]
mov r14d, dword [rsp + 0x128]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x80], rbp
mov dword [rsp + 0x5c], esi
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], r14d
jmp 0x180019bc4
xor edx, edx
xor r9d, r9d
mov r8, r15
lea ecx, [rdx + 0x49]
call fcn.18009aa90
movzx edx, al
mov dword [rsp + 0x88], edx
lea eax, [rdx - 1]
test eax, 0xfffffffd
jne 0x18001aa31
mov r10, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x54]
jmp 0x18001a3d9
cmp dword [r9 + 0x4730], 0
je 0x18001a3d9
mov rax, qword [r9]
mov r13d, r12d
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x60], rcx
cmp dword [rax + 8], 0
jle 0x18001aa24
lea r14, [r9 + 0x45f8]
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x60], rcx
nop word [rax + rax]
mov r12d, StrCmpNICA
nop word [rax + rax]
cmp r12d, 0x94
je 0x18001a10c
cmp r12d, 0x5ed0
jne 0x18001a11d
mov r15d, dword [r14 - 0x38]
xor ebp, ebp
add r15d, 7
sar r15d, 3
test r15d, r15d
jle 0x18001a11d
xor edi, edi
test r8d, r8d
jle 0x18001a0ff
xor esi, esi
nop
mov ebx, 0x3b
mov eax, ebx
sub eax, 0x3a
je 0x18001a072
cmp eax, 1
jne 0x18001a0e0
mov eax, dword [r14]
imul eax, ebp
add eax, edi
shl eax, 6
movsxd rcx, eax
mov rax, qword [r14 - 8]
lea r10, [rax + rcx*2]
mov qword [rsp + 0x60], r10
jmp 0x18001a0e0
movsxd rax, dword [r14 - 0x4c]
lea r8, [r9 + 0x3488]
shl rax, 6
xor r9d, r9d
mov qword [rsp + 0x30], 0
add r8, rax
mov qword [rsp + 0x28], r10
mov edx, 0xdf
xor ecx, ecx
mov qword [rsp + 0x20], 0
call fcn.1800c4150
mov edx, dword [r14 - 0x34]
mov eax, ebp
mov r8, qword [rsp + 0x60]
imul eax, edx
shl eax, 3
movsxd rcx, eax
add rcx, qword [r14 - 0x28]
mov rax, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
add rcx, rsi
call qword [rax + 0x4768]
mov r9, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
mov r10, qword [rsp + 0x60]
dec ebx
cmp ebx, 0x39
ja 0x18001a045
mov r8d, dword [rsp + 0x54]
inc edi
add rsi, 8
cmp edi, r8d
jl 0x18001a040
inc ebp
cmp ebp, r15d
jl 0x18001a031
jmp 0x18001a11d
mov r8d, dword [r14 - 0x3c]
add r8d, 7
sar r8d, 3
mov dword [rsp + 0x54], r8d
add r12d, 0x5e3c
cmp r12d, 0xbc78
jbe 0x18001a000
mov rax, qword [r9]
inc r13d
add r14, 0x60
cmp r13d, dword [rax + 8]
jl 0x180019ff0
mov r13, qword [rsp + 0x100]
jmp 0x18001a3d2
movsxd rax, dword [rsp + 0x88]
mov dword [r15 + 8], eax
mov rcx, rax
test eax, eax
jle 0x18001a3d9
lea rax, [r9 + 0x45e8]
mov qword [rax - 0x18], r12
mov qword [rax], r12
lea rax, [rax + 0x60]
sub rcx, 1
jne 0x18001a170
jmp 0x18001a3d9
mov eax, edi
sub eax, 0x23b
je 0x18001a424
sub eax, 0x12
je 0x18001a1f7
sub eax, 0x95
je 0x18001a1e3
cmp eax, 0x12
jne 0x18001a3d9
cmp dword [r13], 0
je 0x18001a3d9
mov eax, 0x47
cmp eax, 0x47
je 0x18001a1ca
cmp eax, 0x27f
je case.0x180019a13.163
jmp 0x18001a1d2
mov dword [rsp + 0x48], 1
add eax, 0x238
cmp eax, 0x470
jbe 0x18001a1b8
jmp 0x18001a3d9
cmp qword [rsp + 0x68], 0x7fffffff
ja 0x180019c43
jmp 0x18001a3d9
mov ecx, dword [r15 + 8]
lea eax, [rcx + 4]
lea eax, [rcx + rax*2]
cmp r14d, eax
jne 0x18001aa60
mov ebp, r12d
test ecx, ecx
jle 0x18001a3d9
lea rsi, [r9 + 0x45a0]
nop dword [rax]
mov edi, StrCmpNICA
nop word [rax + rax]
cmp edi, 0x24f
ja 0x18001a339
je 0x18001a300
cmp edi, 0x96
je 0x18001a2e6
cmp edi, 0x129
je 0x18001a27e
cmp edi, 0x1bc
jne 0x18001a3a6
xor edx, edx
xor r9d, r9d
mov r8, r15
lea ecx, [rdx + 0x49]
call fcn.18009aa90
movzx eax, al
mov dword [rsp + 0x78], eax
jmp 0x18001a3a6
mov ecx, dword [rsi]
lea eax, [rbp + 1]
cmp ecx, eax
je 0x18001a3a6
cmp ecx, ebp
je 0x18001a3a6
mov ebx, 5
nop dword [rax + rax]
mov eax, ebx
sub eax, 4
je case.0x180019a13.163
cmp eax, 1
jne 0x18001a2da
mov qword [rsp + 0x30], r12
lea rcx, str.uv_n._mb__ayz_
mov qword [rsp + 0x28], r12
mov r9d, 0x111
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
call fcn.180070ab0
mov dword [rsp + 0x48], eax
dec ebx
cmp ebx, 3
ja 0x18001a2a0
jmp 0x18001a3a6
xor edx, edx
xor r9d, r9d
mov r8, r15
lea ecx, [rdx + 0x49]
call fcn.18009aa90
movzx ecx, al
mov dword [rsi], ecx
jmp 0x18001a3a6
mov eax, dword [rsp + 0x78]
sar eax, 4
mov dword [rsi + 4], eax
test eax, eax
je 0x18001a317
cmp eax, 4
jle 0x18001a3a6
mov eax, 0xc4
nop dword [rax]
cmp eax, 0xc4
je 0x18001aa3d
add eax, 0x1880
cmp eax, 0x1880
jbe 0x18001a320
jmp 0x18001a3a6
cmp edi, 0x2e2
je 0x18001a37b
cmp edi, 0x375
je 0x18001a363
cmp edi, 0x408
jne 0x18001a3a6
cmp dword [rsi + 0xc], 3
jle 0x18001a3a6
lea rcx, str.bad_TQ
jmp 0x18001a5b2
xor edx, edx
xor r9d, r9d
mov r8, r15
lea ecx, [rdx + 0x49]
call fcn.18009aa90
movzx ecx, al
mov dword [rsi + 0xc], ecx
jmp 0x18001a3a6
mov eax, dword [rsp + 0x78]
and eax, 0xf
mov dword [rsi + 8], eax
je 0x18001a38c
cmp eax, 4
jbe 0x18001a3a6
mov eax, 0x24
cmp eax, 0x24
je 0x18001aa49
add eax, 0xf30
cmp eax, 0xf30
jbe 0x18001a391
add edi, 0x93
cmp edi, 0x49b
jb 0x18001a230
inc ebp
add rsi, 0x60
cmp ebp, dword [r15 + 8]
jl 0x18001a220
mov r8d, dword [rsp + 0x54]
mov r10, qword [rsp + 0x60]
mov edi, dword [rsp + 0x128]
mov eax, dword [rsp + 0x40]
add edi, 0xa7
mov dword [rsp + 0x128], edi
cmp edi, eax
jae case.0x180019a13.163
mov r9, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
xor r12d, r12d
mov r11, qword [rsp + 0x108]
mov r15, qword [rsp + 0x70]
mov ebx, dword [rsp + 0x58]
mov esi, dword [rsp + 0x5c]
mov rbp, qword [rsp + 0x80]
mov r14d, dword [rsp + 0x50]
jmp 0x180019be2
movsxd rdi, dword [rbp + 8]
mov rax, qword [rbp + 0x10]
cmp qword [rax + rdi*8 - 8], 0
je 0x18001a3d2
mov ebx, 0x58
nop dword [rax]
mov eax, ebx
sub eax, 0x58
je 0x18001a48a
cmp eax, 1
jne 0x18001a4b5
mov rax, qword [r11]
cmp qword [rsp + 0x68], rax
jb 0x18001a4b5
mov eax, 0xec
nop dword [rax + rax]
cmp eax, 0xec
je 0x18001a474
cmp eax, 0x6f8c
je case.0x180019a13.163
jmp 0x18001a47c
mov dword [rsp + 0x48], 0xffffffff
add eax, 0x6ea0
cmp eax, 0xdd40
jbe 0x18001a460
jmp 0x18001a4b5
mov r9, qword [rbp + 0x10]
lea rcx, [rsp + 0x68]
mov r8, qword [r11]
mov rdx, r13
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, qword [r9 + rdi*8 - 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x180019c43
mov r11, qword [rsp + 0x108]
inc ebx
cmp ebx, 0x5a
jb 0x18001a440
jmp 0x18001a3c8
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x48], eax
jmp 0x18001a3d9
cmp edi, 0x590
ja 0x18001a612
je 0x18001a5ff
mov eax, edi
sub eax, 0x39b
je 0x18001a591
sub eax, 0x95
je case.0x180019a13.163
sub eax, 0x12
je 0x18001a524
cmp eax, 0xa7
mov eax, dword [rsp + 0x40]
jne 0x18001a3dd
mov dword [r9 + 0x458c], ebx
jmp 0x18001a3dd
mov eax, dword [r15 + 8]
test eax, eax
jle 0x18001a585
lea rdx, [r9 + 0x45a8]
mov r8d, eax
nop word [rax + rax]
mov ecx, 0x90
mov eax, ecx
sub eax, 0x8f
je 0x18001a55f
cmp eax, 1
jne 0x18001a564
mov eax, dword [rdx - 4]
cmp eax, esi
cmovle eax, esi
mov esi, eax
jmp 0x18001a564
cmp dword [rdx], ebx
cmovg ebx, dword [rdx]
dec ecx
cmp ecx, 0x8e
ja 0x18001a545
add rdx, 0x60
mov dword [rsp + 0x5c], esi
mov dword [rsp + 0x58], ebx
sub r8, 1
jne 0x18001a540
mov r8d, dword [rsp + 0x54]
mov dword [r9 + 0x4588], esi
jmp 0x18001a3d9
xor edx, edx
mov eax, 0x40000000
div dword [r15]
xor edx, edx
div dword [r15 + 8]
cmp eax, dword [r15 + 4]
jae 0x18001a3d9
lea rcx, str.too_large
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, 0x111
xor r8d, r8d
xor edx, edx
call fcn.180070ab0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x48]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea eax, [rsi*8]
mov dword [r9 + 0x4598], eax
jmp 0x18001a3d9
cmp edi, 0x637
je 0x18001a9f8
cmp edi, 0x6de
je 0x18001a68b
cmp edi, 0x785
jne 0x18001a3dd
mov ecx, 0x12
mov eax, ecx
sub eax, 0x11
je case.0x180019a13.163
cmp eax, 1
jne 0x18001a647
mov dword [rsp + 0x48], eax
dec ecx
cmp ecx, 0x10
ja 0x18001a637
test r13, r13
jne 0x18001a3d9
mov ecx, 0x11b
nop dword [rax]
mov eax, ecx
sub eax, 0x11b
je 0x18001a674
cmp eax, 1
je case.0x180019a13.163
jmp 0x18001a67c
mov dword [rsp + 0x48], 0xffffffff
inc ecx
cmp ecx, 0x11d
jb 0x18001a660
jmp 0x18001a3d9
mov eax, dword [r15 + 4]
xor edx, edx
mov ecx, dword [r9 + 0x459c]
dec eax
add eax, ecx
mov ebp, r12d
div ecx
mov rdi, r12
mov dword [r9 + 0x4594], eax
cmp dword [r15 + 8], 0
jle 0x18001a3d2
nop word [rax + rax]
mov r14d, SHRegGetIntW
nop word [rax + rax]
cmp r14d, 0x183cb
ja 0x18001a7f8
je 0x18001a788
cmp r14d, 0x113
je 0x18001a75f
cmp r14d, 0x81fb
je 0x18001a72a
cmp r14d, 0x102e3
jne 0x18001a9c8
mov eax, dword [r9 + 0x4590]
lea rcx, [rdi + rdi*2]
shl rcx, 5
imul eax, dword [rcx + r9 + 0x45a4]
shl eax, 3
mov dword [rcx + r9 + 0x45c4], eax
jmp 0x18001a9c8
xor edx, edx
lea rax, [rdi + rdi*2]
shl rax, 5
lea rcx, [rdi + 0xba]
lea rcx, [rcx + rcx*2]
mov eax, dword [rax + r9 + 0x45a8]
imul eax, dword [r15 + 4]
dec eax
add eax, ebx
div ebx
shl rcx, 5
mov dword [rcx + r9], eax
jmp 0x18001a9c8
lea rcx, [rdi + rdi*2]
xor edx, edx
shl rcx, 5
mov eax, dword [rcx + r9 + 0x45a4]
imul eax, dword [r15]
dec eax
add eax, esi
div esi
mov dword [rcx + r9 + 0x45bc], eax
jmp 0x18001a9c8
xor r8d, r8d
mov qword [rsp + 0x28], r12
lea rbx, [rdi + rdi*2]
mov qword [rsp + 0x20], r12
shl rbx, 5
lea edx, [r8 + 0x67]
mov ecx, dword [rbx + r9 + 0x45a8]
imul ecx, dword [r9 + 0x4594]
mov eax, dword [rbx + r9 + 0x45c4]
shl ecx, 3
imul eax, ecx
mov dword [rbx + r9 + 0x45c8], ecx
lea r9, [rsp + 0x90]
xor ecx, ecx
add eax, 0xf
cdqe
mov qword [rsp + 0x90], rax
call fcn.1800691c0
mov r9, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
mov qword [rbx + r9 + 0x45d8], rax
jmp 0x18001a9c8
cmp r14d, 0x204b3
je 0x18001a903
cmp r14d, 0x2859b
jne 0x18001a9c8
lea rsi, [rdi + rdi*2]
shl rsi, 5
mov qword [rsi + r9 + 0x45e8], r12
cmp dword [r9 + 0x4730], 0
je 0x18001a8cf
mov ebx, 0x9b
cmp ebx, 0x9b
je 0x18001a88c
cmp ebx, 0x158
jne 0x18001a8b8
mov eax, dword [rsi + r9 + 0x45fc]
imul eax, dword [rsi + r9 + 0x45f8]
shl eax, 6
movsxd rcx, eax
lea rcx, [rcx*2 + 0xf]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
mov qword [rsi + r9 + 0x45e0], rax
add rax, 0xf
and rax, 0xfffffffffffffff0
mov qword [rsi + r9 + 0x45f0], rax
jmp 0x18001a8b8
mov eax, dword [rsi + r9 + 0x45c4]
add eax, 7
sar eax, 3
mov dword [rsi + r9 + 0x45f8], eax
mov eax, dword [rsi + r9 + 0x45c8]
add eax, 7
sar eax, 3
mov dword [rsi + r9 + 0x45fc], eax
add ebx, 0xbd
cmp ebx, 0x215
jb 0x18001a835
jmp 0x18001a9c8
mov eax, PathMakeUniqueName
cmp eax, 0x2c
je 0x18001a8ea
cmp eax, 0xe3
jne 0x18001a8f2
mov qword [rsi + r9 + 0x45e0], r12
jmp 0x18001a8f2
mov qword [rsi + r9 + 0x45f0], r12
add eax, 0xb7
cmp eax, 0x19a
jb 0x18001a8d4
jmp 0x18001a9c8
lea rax, [rdi + rdi*2]
shl rax, 5
cmp qword [rax + r9 + 0x45d8], 0
jne 0x18001a9a8
mov esi, 0x12d
nop
mov eax, esi
mov rcx, rdi
sub eax, 0x12c
je case.0x180019a13.163
cmp eax, 1
jne 0x18001a99a
dec ebp
sub rdi, 1
js 0x18001a968
lea rax, [rdi + rdi*2]
shl rax, 5
lea rbx, [r9 + 0x45d0]
add rbx, rax
sub ebp, ecx
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
sub rdi, 1
mov qword [rbx], r12
lea rbx, [rbx - 0x60]
jns 0x18001a951
mov qword [rsp + 0x30], r12
lea rcx, str.outofmem
mov qword [rsp + 0x28], r12
mov r9d, 0x111
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
call fcn.180070ab0
mov r9, qword [rsp + reloc.SHLWAPI.dll_SHRegGetIntW]
mov dword [rsp + 0x48], eax
dec esi
cmp esi, 0x12b
ja 0x18001a920
lea rcx, [rdi + rdi*2]
shl rcx, 5
mov rax, qword [rcx + r9 + 0x45d8]
add rax, 0xf
and rax, 0xfffffffffffffff0
mov qword [rcx + r9 + 0x45d0], rax
mov ebx, dword [rsp + 0x58]
add r14d, 0x80e8
mov esi, dword [rsp + 0x5c]
cmp r14d, 0x30570
jbe 0x18001a6d0
inc ebp
inc rdi
cmp ebp, dword [r15 + 8]
jl 0x18001a6c0
jmp 0x18001a3c8
mov ecx, dword [r9 + 0x4598]
lea eax, [rbx*8]
mov dword [r9 + 0x459c], eax
xor edx, edx
mov eax, dword [r15]
dec eax
add eax, ecx
div ecx
mov dword [r9 + 0x4590], eax
jmp 0x18001a3d9
mov r13, qword [rsp + 0x100]
jmp 0x18001a3d9
lea rcx, str.WTSQueryUserConfigA
jmp 0x18001a5b2
lea rcx, str.bad_H
jmp 0x18001a5b2
lea rcx, str.bad_V
jmp 0x18001a5b2
lea rcx, str.WebVR1.1M62
jmp 0x18001a5b2