Function at 0x180085c00
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x100
mov rax, qword [0x180135928]
xor rax, rsp
mov qword [rbp - 9], rax
mov dword [rbp - 0x51], r9d
mov rsi, r8
mov qword [rbp - 0x79], r8
mov rbx, rdx
mov qword [rbp - 0x31], rdx
mov r12, rcx
mov r14, qword [rbp + 0x67]
mov r13, qword [rbp + 0x6f]
mov rdi, qword [rbp + 0x7f]
mov qword [rbp - 0x61], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
xor edx, edx
mov qword [rbp - 0x39], rdx
mov r15d, r9d
imul ecx, r9d, 0x3dc
mov dword [rsp + 0x60], ecx
lea r11, [0x180000000]
cmp r9d, ecx
mov r9, qword [rbp - 0x59]
mov qword [rsp + 0x68], r9
ja 0x180086da4
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
movzx eax, word [rsp + 0x64]
mov dword [rsp + 0x40], eax
lea r10, [0x180116544]
lea r8, [0x180116518]
cmp r15d, 0x2fd3
ja 0x180086c21
je 0x18008630e
cmp r15d, 0x125
ja 0x180086267
je 0x180086238
mov eax, r15d
sub eax, 0x36
je 0x18008622c
sub eax, 0x69
je 0x18008621f
cmp eax, 0x3c
jne 0x180086d63
mov dword [rsp + 0x48], edx
mov r8, rsi
mov edx, 0x102
lea rcx, [rsp + 0x48]
call fcn.1800d21a0
mov rax, qword [rbp + 0x77]
cmp dword [rax], 0
jne 0x180085d1f
mov r9, rdi
mov r8d, 0x5c
mov rdx, r13
mov rcx, rsi
call fcn.1800c4cc0
jmp 0x180086d5a
mov esi, 0xc2
mov dword [rsp + 0x48], esi
nop dword [rax + rax]
cmp esi, 0x6de2
ja 0x180085f63
je 0x180085e0a
cmp esi, 0xc2
je 0x180085df9
cmp esi, 0x2522
je 0x180085db2
cmp esi, 0x4982
jne 0x1800861fc
cmp r14, r12
jae 0x180085d6d
cmp byte [r14], 0x2d
jne 0x180085da8
mov ebx, 0x42
cmp ebx, 0x42
je 0x180085d85
cmp ebx, 0x1524
je case.0x180087077.510
jmp 0x180085d9a
mov r9, rdi
mov r8d, 0x5c
mov rdx, r13
mov rcx, qword [rbp - 0x79]
call fcn.1800c4cc0
add ebx, 0x14e2
cmp ebx, 0x29c4
jbe 0x180085d72
mov qword [rsp + 0x78], r14
jmp 0x1800861fc
cmp r14, r12
jae 0x1800861fc
cmp byte [r14], 0x3d
jne 0x180085dc4
inc r14
cmp r14, r12
jae 0x1800861fc
nop dword [rax]
movsx eax, byte [r14]
cmp al, 0xc0
jae 0x1800861fc
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x1800861fc
inc r14
cmp r14, r12
jb 0x180085dd0
jmp 0x1800861fc
mov rax, qword [rbp - 0x59]
mov qword [rsp + 0x78], rax
inc r14
jmp 0x1800861fc
movzx eax, byte [r14]
cmp al, 0x27
je 0x180085e8d
cmp al, 0x22
je 0x180085e8d
mov ebx, 0xec
nop dword [rax + rax]
cmp ebx, 0xec
je 0x180085e56
cmp ebx, 0x5a58
jne 0x180085e76
mov eax, r14d
mov rdi, qword [rsp + 0x78]
sub eax, edi
mov dword [rsp + 0x48], eax
mov r9, rdi
mov r8, qword [rbp - 0x79]
lea rdx, [rsp + 0x48]
mov ecx, 0xa5
call fcn.1800d3130
jmp 0x180085e76
cmp r14, r12
jae 0x180085e76
nop dword [rax + rax]
movsx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x180085e76
inc r14
cmp r14, r12
jb 0x180085e60
add ebx, 0x596c
cmp ebx, 0xb2d8
jbe 0x180085e20
mov rdi, qword [rbp - 0x61]
jmp 0x1800861fc
mov ebx, 0xe4
mov esi, dword [rbp - 0x71]
nop word [rax + rax]
cmp ebx, 0xe4
je 0x180085f3a
cmp ebx, 0x1d64
je 0x180085ef7
cmp ebx, 0x39e4
je 0x180085f2d
cmp ebx, 0x5664
je 0x180085ed3
cmp ebx, 0x72e4
jne 0x180085f41
cmp r14, r12
jae 0x180085f41
jmp 0x180085f3e
mov eax, r14d
mov rdi, qword [rsp + 0x78]
sub eax, edi
mov dword [rbp - 0x71], eax
mov r9, rdi
mov r8, qword [rbp - 0x79]
lea rdx, [rbp - 0x71]
mov ecx, 0xa5
call fcn.1800d3130
jmp 0x180085f41
mov qword [rsp + 0x78], r14
cmp r14, r12
jae 0x180085f41
mov ecx, 0x47
cmp ecx, 0x47
jne 0x180085f1d
movsx eax, byte [r14]
cmp eax, esi
jne 0x180085f1a
cmp byte [r14 - 1], 0x5c
jne 0x180085f2d
inc r14
add ecx, 0x252a
cmp ecx, 0x252a
jbe 0x180085f06
jmp 0x180085efc
mov ebx, 0x39e4
mov r15d, 0xdb
jmp 0x180085f41
movsx esi, byte [r14]
inc r14
add ebx, 0x1c80
cmp ebx, 0x8e80
jbe 0x180085ea0
mov dword [rbp - 0x71], esi
mov esi, dword [rsp + 0x48]
mov rdi, qword [rbp - 0x61]
jmp 0x1800861fc
cmp esi, 0x9242
je 0x1800861da
cmp esi, 0xb6a2
jne 0x1800861fc
cmp r14, r12
jae 0x1800861c3
cmp byte [r14], 0x2d
je 0x1800861c3
mov r9, rbx
xor r8d, r8d
mov edx, 0xcb
xor ecx, ecx
call fcn.1800c77c0
mov rdi, rax
test rax, rax
jne 0x180085fe3
mov dword [rsp + 0x48], 1
lea rax, str.SetSecurityDescriptorControl
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x24]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.180023820
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], rax
mov rdi, qword [rbp - 0x61]
jmp 0x1800861fc
mov ebx, 0xb2
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], rax
mov eax, ebx
sub eax, 0xae
je 0x18008619e
sub eax, 1
je 0x180086187
sub eax, 1
je 0x18008617f
sub eax, 1
je 0x180086143
cmp eax, 1
jne 0x1800861af
mov dword [rsp + 0x28], 0x77
mov qword [rsp + 0x20], 0
mov r9, rdi
mov r8, qword [rbp - 0x79]
xor edx, edx
xor ecx, ecx
call fcn.1800d7fb0
xor r8d, r8d
nop word [rax + rax]
mov ebx, r8d
cmp ebx, 6
ja case.default.0x18008606f
mov eax, ebx
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x871e0]
add rcx, rdx
jmp rcx
mov qword [rsp + 0x78], r14
jmp case.default.0x18008606f
cmp r14, r12
jae case.default.0x18008606f
cmp byte [r14], 0x5c
jne case.default.0x18008606f
mov ecx, 0x10c
mov eax, ecx
sub eax, 0x10c
je 0x1800860a8
cmp eax, 1
jne 0x1800860ab
mov qword [rsp + 0x78], r14
jmp 0x1800860ab
inc r14
inc ecx
cmp ecx, 0x10e
jb 0x180086093
jmp case.default.0x18008606f
xor r9d, r9d
mov r8, qword [rbp - 0x79]
mov edx, 0x90
xor ecx, ecx
call fcn.1800d0940
mov eax, r14d
mov rcx, qword [rsp + 0x78]
sub eax, ecx
mov dword [rsp + 0x48], eax
mov r9, rcx
mov r8, qword [rbp - 0x79]
lea rdx, [rsp + 0x48]
mov ecx, 0xa5
call fcn.1800d3130
jmp 0x180086167
cmp r14, r12
jae case.default.0x18008606f
movsx eax, byte [r14]
cmp al, 0xc0
jae 0x180086167
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x180086167
inc r14
cmp r14, r12
jb 0x1800860f8
jmp 0x180086167
cmp r14, r12
jae case.default.0x18008606f
nop dword [rax + rax]
movsx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x180086167
inc r14
cmp r14, r12
jb 0x180086120
jmp 0x180086167
cmp r14, r12
jae 0x180086143
cmp byte [r14], 0x2d
jne case.default.0x18008606f
mov ebx, 0xb1
jmp 0x1800861af
mov dword [rsp + 0x28], 0x77
mov qword [rsp + 0x20], r8
mov r9, rdi
mov r8, qword [rbp - 0x79]
xor edx, edx
xor ecx, ecx
call fcn.1800d7fb0
xor r8d, r8d
inc ebx
lea eax, [rbx + 0x7a]
cmp eax, 0x81
jb 0x180086053
jmp 0x180086050
mov r15d, 0xdb
jmp 0x1800861af
mov r9, qword [rbp - 0x61]
mov r8d, 0x5c
mov rdx, r13
mov rcx, rdi
call fcn.1800c4cc0
jmp 0x1800861af
mov r8, qword [rbp - 0x31]
mov edx, 0x98
mov rcx, rdi
call fcn.1800c8420
dec ebx
cmp ebx, 0xad
ja 0x180085ff2
mov rdi, qword [rbp - 0x61]
jmp 0x1800861fc
mov r9, rdi
mov r8d, 0x5c
mov rdx, r13
mov rcx, qword [rbp - 0x79]
call fcn.1800c4cc0
jmp 0x1800861fc
cmp r14, r12
jae 0x1800861fc
nop
movsx eax, byte [r14]
cmp al, 0xc0
jae 0x1800861fc
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x1800861fc
inc r14
cmp r14, r12
jb 0x1800861e0
add esi, 0x2460
mov dword [rsp + 0x48], esi
cmp esi, 0xda40
mov rbx, qword [rbp - 0x31]
jbe 0x180085d30
mov rsi, qword [rbp - 0x79]
jmp 0x180086d5a
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x69], rax
jmp 0x180086d63
mov r10d, edx
mov dword [rsp + 0x50], edx
jmp 0x180086d68
lea r9, [rbp - 0x49]
xor r8d, r8d
lea edx, [r8 + 0x12]
mov rcx, r13
call fcn.1800bad20
test al, al
je 0x180086d90
mov edx, 0xffffffff
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x180086d5a
cmp r15d, 0x103e
je 0x1800862fe
cmp r15d, 0x2046
jne 0x180086d63
cmp r13, r9
jae 0x180086d63
nop word [rax + rax]
movsx ecx, byte [r13]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov r9, qword [rsp + 0x68]
test eax, eax
je 0x1800862b1
inc r13
cmp r13, r9
jb 0x180086290
jmp 0x180086d5f
cmp r13, r9
jae 0x180086d5f
movzx eax, byte [r13]
sub al, 0x2b
test al, 0xfd
jne 0x180086d5f
mov ecx, 0x28
nop
mov eax, ecx
sub eax, 0x28
je 0x1800862e1
cmp eax, 1
jne 0x1800862f2
inc r13
jmp 0x1800862f2
xor r10d, r10d
cmp byte [r13], 0x2d
sete r10b
mov dword [rsp + 0x50], r10d
inc ecx
cmp ecx, 0x2a
jb 0x1800862d0
jmp 0x180086d5f
mov r9d, dword [rsi]
add r9, r13
mov qword [rsp + 0x68], r9
jmp 0x180086d63
movsxd rdi, dword [r14]
add rdi, rsi
mov ebx, 0x62
nop dword [rax]
lea eax, [rbx - 0x62]
cmp eax, 6
ja case.0x180086337.103
mov ecx, dword [r11 + rax*4 + 0x871fc]
add rcx, r11
jmp rcx
mov eax, dword [rsp + 0x70]
add eax, 0xffffffdb
cmp eax, 0x55
ja case.0x18008635f.68
cdqe
movzx eax, byte [r11 + rax + 0x87298]
mov ecx, dword [r11 + rax*4 + 0x87218]
add rcx, r11
jmp rcx
mov eax, 0xc8
cmp eax, 0xc8
je 0x180086392
add eax, 0x58
cmp eax, 0x120
jb 0x180086366
mov ebx, 0x55
nop dword [rax]
mov eax, ebx
sub eax, 0x55
je 0x1800863b8
cmp eax, 1
je case.0x18008635f.68
jmp 0x1800863d9
lea r9, [0x180108ffc]
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x48]
mov r8, r13
mov ecx, 0xcd
call fcn.1800612d0
jmp case.0x18008635f.68
mov dword [rsp + 0x48], 1
lea r9, [0x1801164f8]
mov r8, r13
lea rdx, [rsp + 0x48]
mov ecx, 0xcd
call fcn.1800612d0
inc ebx
cmp ebx, 0x57
jb 0x180086380
lea r9, [0x180110cb4]
jmp 0x180086399
mov eax, SHRegGetIntW
nop
cmp eax, 0x115
je 0x180086440
add eax, 0xcb6c
cmp eax, 0xcb6c
jbe 0x1800863f0
mov eax, dword [r12 + 0x18]
mov dword [rsp + 0x48], eax
xor edx, edx
mov r8d, 0xa7
lea rcx, [rsp + 0x48]
call fcn.1800492b0
mov dword [rsp + 0x58], 0xffffffff
mov r9, rax
lea rdx, [rsp + 0x58]
mov r8, r13
mov ecx, 0xcd
call fcn.1800612d0
jmp case.0x18008635f.68
mov eax, dword [r12 + 0x18]
mov dword [rsp + 0x48], eax
xor edx, edx
mov r8d, 0xa7
lea rcx, [rsp + 0x48]
call fcn.1800492b0
mov dword [rsp + 0x58], 3
mov r9, rax
lea rdx, [rsp + 0x58]
mov r8, r13
mov ecx, 0xcd
call fcn.1800612d0
jmp case.0x18008635f.68
mov ebx, 0x20
cmp ebx, 0x20
je 0x180086492
cmp ebx, 0x2b
je case.0x18008635f.68
jmp 0x1800864a6
mov r8d, dword [r12 + 0xc]
lea rdx, [0x1801164fc]
mov rcx, r13
call fcn.180105df0
add ebx, 0xb
cmp ebx, 0x36
jb 0x180086482
nop
mov r8d, dword [r12 + 0x10]
inc r8d
lea rdx, str._02d
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov eax, 0x9d
cmp eax, 0x9d
je 0x180086518
add eax, 0x2cc5
cmp eax, 0x2cc5
jbe 0x1800864d1
mov eax, 0xe2
nop dword [rax]
cmp eax, 0xe2
je 0x180086531
add eax, 0x70
cmp eax, 0x152
jb 0x1800864f0
mov ebx, 0x3d
mov eax, ebx
sub eax, 0x3d
je 0x18008656d
cmp eax, 1
je case.0x18008635f.68
jmp 0x180086581
mov r8d, dword [r12 + 0x1c]
lea rdx, str._03d
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov ecx, dword [r12 + 0x18]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 7
sub ecx, eax
movsxd rax, ecx
mov r8d, dword [r11 + rax*4 + 0x10c0f0]
lea rdx, [0x180116510]
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov r8d, dword [r12 + 0x18]
lea rdx, [0x180116510]
mov rcx, r13
call fcn.180105df0
inc ebx
cmp ebx, 0x3f
jb 0x180086506
mov ebx, 0x24
mov eax, ebx
sub eax, 0x24
je 0x1800865a3
cmp eax, 1
je case.0x18008635f.68
jmp 0x1800865e5
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0xd7
call fcn.18000ae50
mov dword [rsp + 0x58], 3
mov r9, rax
mov r8, r13
lea rdx, [rsp + 0x58]
mov ecx, 0xcd
call fcn.1800612d0
inc ebx
cmp ebx, 0x26
jb 0x180086591
nop dword [rax]
mov eax, dword [r12 + 0x10]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0xd7
call fcn.18000ae50
jmp 0x18008641e
mov ebx, 0xd0
nop
mov eax, ebx
sub eax, 0xd0
je 0x180086634
cmp eax, 1
je case.0x18008635f.68
jmp 0x18008664b
mov r8d, dword [r12 + 0x10]
inc r8d
lea rdx, str._02d
mov rcx, r13
call fcn.180105df0
inc ebx
cmp ebx, 0xd2
jb 0x180086620
mov ebx, 0x123
nop word [rax + rax]
mov eax, ebx
sub eax, 0x123
je 0x180086674
cmp eax, 0x1a
je case.0x18008635f.68
jmp 0x18008669a
mov eax, 0x51eb851f
imul dword [r12 + 0x14]
sar edx, 5
mov r8d, edx
shr r8d, 0x1f
add r8d, edx
lea rdx, [0x1801164fc]
mov rcx, r13
call fcn.180105df0
add ebx, 0x1a
cmp ebx, 0x157
jb 0x180086660
mov eax, 0xdd
nop word [rax + rax]
cmp eax, 0xdd
je 0x1800866e9
add eax, 0x817e
cmp eax, 0x817e
jbe 0x1800866b0
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r12 + 0x14]
lea rdx, [0x180116514]
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov r8d, dword [r12 + 0x14]
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub r8d, eax
lea rdx, [0x1801164fc]
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov r8d, dword [r12 + 8]
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
jmp 0x1800864b5
mov r8d, dword [r12 + 8]
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
inc r8d
lea rdx, [0x1801164fc]
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov eax, 0xef
nop dword [rax + rax]
cmp eax, 0xef
je 0x1800867b8
add eax, 0x29
cmp eax, reloc.SHLWAPI.dll_SHRegGetIntW
jb 0x180086790
mov ebx, 0x5d
mov eax, ebx
sub eax, 0x5d
je 0x1800867d1
cmp eax, 1
je case.0x18008635f.68
jmp 0x1800867e5
mov r8d, dword [r12 + 8]
lea rdx, str._02d
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov r8d, dword [r12 + 4]
lea rdx, str._02d
mov rcx, r13
call fcn.180105df0
inc ebx
cmp ebx, 0x5f
jb 0x1800867a6
mov ebx, 0x6a
cmp ebx, 0x6a
je 0x180086804
cmp ebx, 0x4af2
je case.0x18008635f.68
jmp 0x180086817
mov r8d, dword [r12]
lea rdx, str._02d
mov rcx, r13
call fcn.180105df0
add ebx, 0x4a88
cmp ebx, 0x9510
jbe 0x1800867f1
lea r8, [0x180116518]
mov ebx, 0x12
mov eax, ebx
sub eax, 0xf
je case.0x18008635f.68
sub eax, 1
je 0x180086863
sub eax, 1
je 0x180086856
cmp eax, 1
jne 0x180086881
mov rax, qword [r12 + 0x28]
mov qword [rbp - 0x69], rax
jmp 0x180086881
cmp qword [rbp - 0x69], 0
jne 0x180086881
mov qword [rbp - 0x69], r8
jmp 0x180086881
mov dword [rsp + 0x48], 0xffffffff
mov r9, qword [rbp - 0x69]
mov r8, r13
lea rdx, [rsp + 0x48]
mov ecx, 0xcd
call fcn.1800612d0
dec ebx
cmp ebx, 0xe
lea r8, [0x180116518]
ja 0x180086831
mov eax, 0xb1
cmp eax, 0xb1
je 0x1800868c6
add eax, 0x90
cmp eax, 0x141
jb 0x180086894
mov ebx, 0x11c
nop dword [rax]
cmp ebx, 0x11c
je 0x1800868ec
cmp ebx, 0x3f3c
je case.0x18008635f.68
jmp 0x180086905
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, dword [r12 + 4]
mov r8d, dword [r12 + 8]
lea rdx, str._Z5floorDv16_d
mov rcx, r13
call fcn.180105df0
jmp case.0x18008635f.68
mov r9d, dword [r12 + 4]
mov r8d, dword [r12 + 8]
lea rdx, str._02d:_02d
mov rcx, r13
call fcn.180105df0
add ebx, 0x3e20
cmp ebx, 0x7c40
jbe 0x1800868b0
lea r10, [0x180116544]
mov eax, 0x125
nop
cmp eax, 0x125
je 0x18008694a
add eax, 0x75
cmp eax, 0x19a
jb 0x180086920
mov ebx, 0x124
mov eax, ebx
sub eax, 0x124
je 0x18008696f
cmp eax, 1
je case.0x18008635f.68
jmp 0x18008699a
mov dword [rsp + 0x48], 2
lea r9, [0x180116540]
cmp dword [r12 + 8], 0xc
lea rax, [0x18011653c]
cmovg r9, rax
jmp 0x1800863a1
mov dword [rsp + 0x48], 2
lea r9, [0x180116548]
cmp dword [r12 + 8], 0xc
cmovg r9, r10
mov r8, r13
lea rdx, [rsp + 0x48]
mov ecx, 0xcd
call fcn.1800612d0
inc ebx
cmp ebx, 0x126
lea r10, [0x180116544]
jb 0x180086936
mov ebx, IsCharSpaceW
mov eax, ebx
sub eax, 0x1c
je 0x1800869c2
cmp eax, 1
je case.0x18008635f.68
jmp 0x180086a14
mov r8d, dword [r12 + 8]
lea rcx, [0x180116548]
cmp r8d, 0xc
cmovg rcx, r10
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
inc r8d
mov qword [rsp + 0x28], rcx
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, dword [r12 + 4]
lea rdx, str.addl________d___p
mov rcx, r13
call fcn.180105df0
inc ebx
cmp ebx, 0x1e
lea r10, [0x180116544]
jb 0x1800869b0
mov ebx, 0xef
cmp ebx, 0xef
je 0x180086a3d
cmp ebx, 0xada6
je case.0x18008635f.68
jmp 0x180086a78
mov ecx, dword [r12 + 0x14]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub ecx, eax
mov r8d, dword [r12 + 0x10]
inc r8d
mov dword [rsp + 0x20], ecx
mov r9d, dword [r12 + 0xc]
lea rdx, str.Skapa_CD_Image
mov rcx, r13
call fcn.180105df0
add ebx, 0xacb7
cmp ebx, 0x1596e
jbe 0x180086a27
mov ebx, 0x10f
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x10f
je 0x180086aa4
cmp eax, 1
je case.0x18008635f.68
jmp 0x180086ac9
mov r9d, dword [r12 + 0x10]
inc r9d
mov eax, dword [r12 + 0xc]
mov dword [rsp + 0x20], eax
mov r8d, dword [r12 + 0x14]
lea rdx, str.GLOBAL_SCOPE
mov rcx, r13
call fcn.180105df0
inc ebx
cmp ebx, 0x111
jb 0x180086a90
mov ebx, 0x119
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x119
je 0x180086af4
cmp eax, 0x5a
je case.0x18008635f.68
jmp 0x180086b33
mov r9d, dword [r12 + 0x10]
inc r9d
mov eax, dword [r12]
mov dword [rsp + 0x38], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [r12 + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [r12 + 0xc]
mov dword [rsp + 0x20], eax
mov r8d, dword [r12 + 0x14]
lea rdx, str.CMD_KEEPALIVEREQUEST_ANSWER
mov rcx, r13
call fcn.180105df0
add ebx, 0x5a
cmp ebx, 0x1cd
jb 0x180086ae0
mov ebx, 0x8c
mov eax, ebx
sub eax, 0x8a
je case.0x18008635f.68
sub eax, 1
je 0x180086b62
cmp eax, 1
jne 0x180086b75
lea rcx, [rbp - 0x59]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
jmp 0x180086b75
mov r8d, dword [rbp - 0x59]
lea rdx, [0x1801165a4]
mov rcx, r13
call fcn.180105df0
dec ebx
cmp ebx, 0x89
ja 0x180086b43
mov ebx, 0x66
lea r11, [0x180000000]
lea r10, [0x180116544]
lea r8, [0x180116518]
jmp case.0x180086337.103
inc rsi
jmp case.0x180086337.103
movsx eax, byte [rsi]
mov dword [rsp + 0x70], eax
jmp case.0x180086337.103
inc rsi
mov qword [rbp - 0x79], rsi
cmp rsi, rdi
jb case.0x180086337.103
mov r9, qword [rsp + 0x68]
mov rdi, qword [rbp - 0x61]
mov ecx, dword [rsp + 0x60]
xor edx, edx
mov r15d, 0x5f07
mov dword [rsp + 0x58], edx
jmp 0x180086d63
mov rcx, qword [rbp - 0x69]
cmp rsi, rcx
jbe case.0x180086337.103
mov eax, esi
sub eax, ecx
mov dword [rsp + 0x48], eax
mov r9, rcx
mov r8, r13
lea rdx, [rsp + 0x48]
mov ecx, 0xcd
call fcn.1800612d0
jmp 0x180086b84
mov qword [rbp - 0x69], rsi
cmp rsi, rdi
jae case.0x180086337.103
cmp byte [rsi], 0x25
je case.0x180086337.103
inc rsi
cmp rsi, rdi
jb 0x180086c04
inc ebx
cmp ebx, 0x69
jb 0x180086320
jmp 0x180086314
cmp r15d, 0x5f07
ja 0x180086c98
je 0x180086bc4
cmp r15d, 0x304e
je 0x180086c76
cmp r15d, 0x4056
je 0x180086c61
cmp r15d, 0x5821
jne 0x180086d63
lea rcx, [r13 + 0x18]
lea rdx, [rbp - 0x49]
call fcn.180009080
mov byte [rsp + 0x64], al
jmp 0x180086d5a
mov r8d, 0x13
mov dword [rsp + 0x40], r8d
mov r10d, dword [rsp + 0x50]
jmp 0x180086d6d
cmp r13, r9
jae 0x180086d63
nop
cmp byte [r13], 0x30
jne 0x180086d63
inc r13
cmp r13, r9
jb 0x180086c80
jmp 0x180086d63
cmp r15d, 0xaf1d
je 0x180086d50
cmp r15d, 0x10619
jne 0x180086d63
cmp byte [rsp + 0x64], 0
je 0x180086d63
mov ebx, 5
cmp ebx, 5
ja case.default.0x180086cd4
mov eax, ebx
mov ecx, dword [r11 + rax*4 + 0x872f0]
add rcx, r11
jmp rcx
mov eax, dword [0x1801165c2]
mov dword [rbp - 0x29], eax
movzx eax, word [0x1801165c6]
mov word [rbp - 0x25], ax
mov word [rbp - 0x23], dx
jmp case.default.0x180086cd4
mov r8d, 5
lea rdx, [0x180116600]
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
lea r11, [0x180000000]
xor edx, edx
jmp case.default.0x180086cd4
lea rcx, [rbp - 0x29]
call qword [sym.imp.SHLWAPI.dll_StrToIntW]
lea r11, [0x180000000]
xor edx, edx
jmp case.default.0x180086cd4
mov word [rbp - 0x11], dx
jmp case.default.0x180086cd4
movabs rax, 0x730061006b0069
mov qword [rbp - 0x19], rax
dec ebx
lea eax, [rbx + 0x83]
cmp eax, 0x82
ja 0x180086cc2
jmp 0x180086d5a
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r9, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
imul eax, dword [rbp - 0x51], 0x4c
add r15d, eax
lea r11, [0x180000000]
cmp r15d, ecx
ja 0x180086db9
mov rbx, qword [rbp - 0x31]
xor edx, edx
jmp 0x180085c95
mov byte [rsp + 0x58], 0
jmp case.0x180087077.510
mov byte [rsp + 0x58], 1
jmp case.0x180087077.510
mov r10d, dword [rsp + 0x70]
mov dword [rsp + 0x50], r10d
movzx r8d, word [rsp + 0x64]
mov dword [rsp + 0x40], r8d
mov r15d, dword [rbp - 0x51]
lea esi, [r15 + 0x5bd]
cmp r15d, esi
jae case.0x180087077.510
lea rcx, str.T__T__T_TT_pT_
mov rdi, qword [rbp - 0x59]
nop dword [rax + rax]
mov rdx, rdi
cmp r15d, 0x196
ja 0x180087055
je 0x180087010
cmp r15d, reloc.SHLWAPI.dll_SHRegGetIntW
ja 0x180086f65
je 0x180086e80
mov eax, r15d
sub eax, 0x36
je 0x180086e28
sub eax, 0x69
je case.0x180087077.510
cmp eax, 8
jne case.0x180087077.511
xor eax, eax
mov edi, eax
jmp case.0x180087077.511
mov eax, r9d
sub eax, r13d
cmp eax, 0x13
jb case.0x180087077.511
mov dword [rsp + 0x70], 0x13
lea r8, str.reserved_word__int_
test r10d, r10d
cmovne r8, rcx
mov qword [rsp + 0x28], r13
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, [rsp + 0x70]
mov ecx, 0xa0
call fcn.1800a9fa0
mov ecx, ebx
test eax, eax
setle cl
lea r8d, [rcx + 0x12]
mov dword [rsp + 0x40], r8d
jmp case.0x180087077.511
xor eax, eax
mov ebx, eax
cmp ebx, 8
ja case.default.0x180086e9a
mov eax, ebx
mov ecx, dword [r11 + rax*4 + 0x87308]
add rcx, r11
jmp rcx
inc r13
jmp case.default.0x180086e9a
cmp r13, r9
jae 0x180086f5a
test r8w, r8w
je 0x180086f5a
movsx ecx, byte [r13]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
mov r8d, dword [rsp + 0x40]
je 0x180086f5a
movsx eax, byte [r13]
sub eax, 0x30
movsxd rcx, eax
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
jmp 0x180086f32
movsx eax, byte [r13]
sub eax, 0x30
movsxd rcx, eax
lea rax, [rdi + rdi*4]
lea rdi, [rcx + rax*2]
dec r8w
mov dword [rsp + 0x40], r8d
jmp case.default.0x180086e9a
dec r8w
mov dword [rsp + 0x40], r8d
inc r13
jmp case.default.0x180086e9a
inc r13
cmp r13, r9
jae 0x180086f5a
test r8w, r8w
je 0x180086f5a
movsx ecx, byte [r13]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
mov r8d, dword [rsp + 0x40]
je 0x180086f5a
mov r9, qword [rsp + 0x68]
inc ebx
lea eax, [rbx + 0x7f]
cmp eax, 0x88
lea r11, [0x180000000]
jb 0x180086e84
lea r11, [0x180000000]
jmp 0x180086e80
mov r15d, reloc.SHLWAPI.dll_SHRegGetIntW
jmp case.0x180087077.511
mov eax, r15d
sub eax, 0x125
je 0x180086fb0
cmp eax, 0x64
jne case.0x180087077.511
cmp r13, r9
jae 0x180086f9e
mov rbx, qword [rsp + 0x68]
movsx ecx, byte [r13]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x180086f99
inc r13
cmp r13, rbx
jb 0x180086f82
mov r8d, dword [rsp + 0x40]
test r12, r12
je case.0x180087077.511
mov qword [r12], r13
jmp case.0x180087077.511
lea rax, [rsp + 0x64]
mov qword [rbp - 0x29], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop word [rax + rax]
dec rcx
shr rax, 1
cmp rax, 0x7fff
ja 0x180086fd0
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x21], rcx
lea r8, [rbp - 0x29]
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
call fcn.1800079a0
mov edx, 0xffffffff
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8d, dword [rsp + 0x40]
jmp case.0x180087077.511
lea rbx, [r13 + 0x18]
lea rax, [rbp - 0x49]
cmp rbx, rax
je case.0x180087077.511
mov rcx, rbx
call fcn.1800af6f0
mov rax, qword [rbp - 0x49]
mov qword [rbx], rax
mov rax, qword [rbp - 0x41]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x39]
mov qword [rbx + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
xor eax, eax
mov qword [rbp - 0x39], rax
mov r8d, dword [rsp + 0x40]
jmp case.0x180087077.511
lea eax, [r15 - 0x1fa]
cmp eax, 0xef
ja case.0x180087077.511
movzx eax, byte [r11 + rax + 0x87344]
mov ecx, dword [r11 + rax*4 + 0x8732c]
add rcx, r11
jmp rcx
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov r8d, dword [rsp + 0x40]
jmp case.0x180087077.511
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x18008709e
mov rcx, qword [r13 + 0x38]
call rax
mov r8d, dword [rsp + 0x40]
mov byte [rsp + 0x58], 1
jmp case.0x180087077.511
test r14, r14
je case.0x180087077.511
cmp r10d, 1
jne 0x1800870b8
test rdx, rdx
je 0x1800870b8
neg rdi
mov qword [r14], rdi
jmp case.0x180087077.511
cmp r13, r9
sbb eax, eax
and eax, 0xfffffff4
mov dword [rsp + 0x58], eax
add r15d, 0x71
cmp r15d, esi
mov r9, qword [rsp + 0x68]
mov r10d, dword [rsp + 0x50]
lea rcx, str.T__T__T_TT_pT_
lea r11, [0x180000000]
jb 0x180086de0
mov rbx, qword [rbp - 0x49]
test rbx, rbx
je 0x1800871b4
mov rdi, qword [rbp - 0x41]
cmp rbx, rdi
je 0x18008715a
xor eax, eax
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18008713e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180087137
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800871a5
mov rcx, r8
call fcn.1801060fc
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x28
cmp rbx, rdi
jne 0x180087106
mov rbx, qword [rbp - 0x49]
mov rcx, qword [rbp - 0x39]
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800871ac
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800871ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1801060fc
mov eax, dword [rsp + 0x58]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.180106610
mov rbx, qword [rsp + 0x158]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret