Function at 0x180035610
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xe8
mov ebx, dword [rbp + 0x77]
mov r15, rcx
lea ecx, [r9 + 0x914]
movaps xmmword [rax - 0x58], xmm6
mov dword [rbp - 0x49], ecx
mov eax, r9d
mov r12, rdx
cmp r9d, ecx
jae 0x180035be6
mov rcx, qword [rbp - 0x69]
mov r13, qword [rbp - 0x71]
movsd xmm6, qword [rbp - 0x29]
mov qword [rbp - 0x39], rcx
mov dword [rsp + 0x48], ebx
xor r10d, r10d
lea rdi, [0x180000000]
mov r9d, 8
cmp eax, 0x37f
ja 0x180035d51
je 0x180035c58
cmp eax, 0xe7
ja 0x180035ba9
je 0x180035b95
cmp eax, 0x3f
je 0x180035b6e
cmp eax, 0x41
je 0x180035b54
cmp eax, 0xe5
jne 0x1800358c7
movsd xmm0, qword [0x1800eed38]
movaps xmm1, xmm6
addsd xmm1, qword [r15 + 0x110]
comisd xmm0, xmm1
jbe 0x1800358f0
mov ebx, dword [rbp - 0x4d]
mov r12d, 0x6e
mov r13, qword [rbp + 0x7f]
mov dword [rsp + 0x4c], r12d
cmp r12d, 0x6e
je 0x180035723
cmp r12d, 0x10c
jne 0x18003589f
lea r9, [r15 + 0x108]
mov qword [rsp + 0x20], r10
xor edx, edx
lea r8d, [r12 - 0x25]
xor ecx, ecx
call fcn.1800cc570
jmp 0x180035898
mov eax, dword [r8]
lea r9, [rbp - 0x79]
add r15, 0x108
mov dword [rbp - 0x79], eax
mov rcx, r15
mov qword [rbp - 0x69], r15
xor edx, edx
mov qword [rsp + 0x20], r10
mov r8d, 0x90
call fcn.1800ae270
cmp eax, 0x1388
jb 0x180035894
movzx r12d, byte [rsp + 0x38]
mov esi, 5
lea r14d, [rsi + 1]
cmp esi, 5
ja case.default.0x18003577c
mov eax, esi
mov ecx, dword [rdi + rax*4 + 0x360a4]
add rcx, rdi
jmp rcx
mov rcx, qword [rbp + 0x5f]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x10f
xor edx, edx
call fcn.1800a7e30
jmp case.default.0x18003577c
mov rcx, qword [rbp - 0x19]
lea r8, [rbp - 0x61]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp qword [rbp - 0x61], 0
jne case.default.0x18003577c
xor r12b, r12b
jmp case.default.0x18003577c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x107
mov r8, r15
xor edx, edx
mov qword [rbp - 0x19], rax
xor ecx, ecx
call fcn.18005eba0
jmp case.default.0x18003577c
xor r10d, r10d
mov ebx, 0x20008
mov qword [rbp - 0x61], r10
jmp 0x180035875
mov r12b, 1
jmp case.default.0x18003577c
test r12b, r12b
je 0x18003586a
mov r15d, dword [rbp - 0x51]
mov edi, 0xea
mov eax, edi
sub eax, 0xe8
je 0x180035847
sub eax, 1
je 0x180035828
cmp eax, 1
jne 0x180035851
lea r15d, [rax + 1]
mov qword [rbp - 0x11], 0
jmp 0x180035851
mov r8, qword [rbp - 0x11]
lea rax, [rbp - 0x21]
mov rcx, qword [rbp - 0x61]
xor r9d, r9d
mov edx, r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
jmp 0x180035851
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
dec edi
cmp edi, 0xe7
ja 0x180035807
mov dword [rbp - 0x51], r15d
lea rdi, [0x180000000]
mov r15, qword [rbp - 0x69]
mov dword [r13], 1
xor r10d, r10d
dec esi
sub r14, 1
jne 0x180035767
mov r15, qword [rbp + 0x5f]
mov byte [rsp + 0x38], r12b
mov r12d, dword [rsp + 0x4c]
mov dword [rbp - 0x4d], ebx
jmp 0x18003589b
mov r15, qword [rbp + 0x5f]
xor r10d, r10d
mov r8, qword [rbp + 0x6f]
add r12d, 0x9e
mov dword [rsp + 0x4c], r12d
cmp r12d, 0x1aa
jb 0x1800356f1
mov ebx, dword [rsp + 0x48]
mov r13, qword [rbp - 0x71]
mov r12, qword [rbp + 0x67]
mov eax, dword [rbp + 0x77]
add eax, 0xa6
mov dword [rbp + 0x77], eax
cmp eax, dword [rbp - 0x49]
jae 0x180035be6
mov rcx, qword [rbp - 0x39]
mov r8, qword [rbp + 0x6f]
jmp 0x180035672
mov edi, 0x107
mov qword [rbp - 0x39], rcx
nop dword [rax]
mov eax, edi
sub eax, 0x3e
je 0x180035941
sub eax, 0xb0
je 0x18003593a
sub eax, 0x19
je 0x180035931
sub eax, 0x97
je 0x180035927
cmp eax, 0xb0
je 0x1800359b0
jmp 0x180035992
mov qword [0], rcx
jmp 0x180035992
mov dword [r15 + 0x10c], r10d
jmp 0x180035992
test rcx, rcx
je 0x1800359b0
jmp 0x180035992
mov ecx, dword [r15 + 0x108]
test ecx, ecx
je 0x18003597b
xor edx, edx
mov eax, 0xffffffff
div ecx
cmp eax, dword [0]
jae 0x18003597b
mov eax, 0x126
test r10b, r10b
jne 0x1800359b0
cmp eax, 0x1ac
je 0x1800359b0
add eax, 0x86
cmp eax, 0x232
jb 0x180035963
mov edx, dword [pe_dos_header]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, rax
mov qword [rbp - 0x39], rax
xor r10d, r10d
add edi, 0xb0
cmp edi, 0x477
jb 0x180035900
nop dword [rax]
nop dword [rax + rax]
comisd xmm6, xmmword [0x1800eed38]
jb 0x180035b1b
mov r12, qword [rbp - 0x59]
mov esi, 0xa
movzx ecx, byte [rsp + 0x30]
mov ebx, dword [rsp + 0x50]
mov dword [rsp + 0x4c], esi
lea r13d, [rsi - 2]
mov qword [rbp - 0x59], r12
mov byte [rsp + 0x30], cl
mov eax, esi
sub eax, 0xa
je 0x180035af9
sub eax, 1
je 0x180035aef
cmp eax, 1
jne 0x180035afd
lea r8, [rbp - 9]
mov edx, ebx
lea rcx, [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_GetAce]
mov rcx, qword [rbp + 0x6f]
lea r8, [rbp - 0x79]
xor r9d, r9d
mov dword [rsp + 0x20], 0x60
lea rdx, [r15 + 0x108]
mov eax, dword [rcx]
xor ecx, ecx
mov dword [rbp - 0x79], eax
call fcn.18000d2e0
cmp eax, 0x1388
jb 0x180035afd
movzx esi, byte [rsp + 0x30]
mov edi, 0xe6
nop dword [rax + rax]
mov eax, edi
sub eax, 0xe6
je 0x180035ac1
sub eax, 1
je 0x180035aa8
sub eax, 1
je 0x180035a95
cmp eax, 1
jne 0x180035ad2
test sil, sil
je 0x180035a76
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r9, [r15 + 0x108]
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov r8d, 0xe7
call fcn.1800cc570
jmp 0x180035ad2
xor eax, eax
mov ecx, eax
test r12, r12
movzx eax, sil
cmovne ecx, eax
movzx esi, cl
jmp 0x180035ad2
lea r8, str.Zje__je__je
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov r12, rax
jmp 0x180035ad2
lea rdx, [r15 + 0x48]
mov ecx, 1
mov sil, 1
call fcn.180011550
inc edi
cmp edi, 0xea
jb 0x180035a50
mov byte [rsp + 0x30], sil
mov esi, dword [rsp + 0x4c]
mov qword [rbp - 0x59], r12
jmp 0x180035afd
mov word [rbp - 0x2f], r13w
mov ebx, r10d
jmp 0x180035afd
mov qword [rbp - 0x31], r10
inc esi
mov r10d, 0
mov dword [rsp + 0x4c], esi
cmp esi, 0xd
jb 0x1800359e0
mov dword [rsp + 0x50], ebx
jmp 0x1800358b8
lea r9, [r15 + 0x108]
mov qword [rsp + 0x20], r10
xor edx, edx
xor ecx, ecx
mov r8d, 0xe7
call fcn.1800cc570
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x59], rax
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x30], al
jmp 0x1800358c4
mov rax, qword [r15]
mov rcx, qword [rax + 0x50]
mov qword [rbp - 0x41], rcx
mov ecx, dword [r8]
sub ecx, dword [rax + 0x20]
mov dword [rsp + 0x3c], ecx
jmp 0x1800358c4
mov rax, qword [rbp + 0x7f]
lea rcx, [rbp - 0x29]
mov r8d, 0x50
mov rdx, r15
mov dword [rax], r10d
call fcn.1800b8c20
test al, al
je 0x180035be6
movsd xmm6, qword [rbp - 0x29]
jmp 0x1800358c4
mov rax, qword [rbp + 0x7f]
mov eax, dword [rax]
sub eax, dword [r8]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1800358c4
cmp eax, 0x18d
je 0x180035c4f
cmp eax, 0x233
je 0x180035c1e
cmp eax, 0x2d9
jne 0x1800358c7
mov rax, qword [r15]
cmp dword [rax + 0x38], 0
je 0x1800358c4
mov eax, 0xd9
cmp eax, 0xd9
je 0x180035c04
cmp eax, 0x6f0b
jne 0x180035c0d
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ebx, 0x16
mov dword [rsp + 0x48], ebx
add eax, 0x6e32
cmp eax, 0xdc64
jbe 0x180035bd8
jmp 0x1800358c4
mov rax, qword [r15]
mov rdx, qword [r8]
mov r13, qword [rbp - 9]
mov qword [rbp - 0x71], r13
cmp rdx, qword [rax + 0x20]
jb 0x180035c48
mov rcx, qword [rbp + 0x7f]
mov rcx, qword [rcx]
cmp rcx, qword [rax + 0x28]
ja 0x180035c48
cmp rdx, rcx
jbe 0x1800358c4
mov eax, 0x16
jmp 0x180035be8
mov dword [rbp - 0x7d], r10d
jmp 0x1800358c7
mov r14d, dword [rsp + 0x3c]
test r14b, 7
je 0x180035d15
mov eax, dword [rsp + 0x34]
nop dword [rax + rax]
test eax, eax
je 0x180035d12
mov esi, 0xce
nop dword [rax]
cmp esi, 0xce
je 0x180035c98
cmp esi, 0x16c
jne 0x180035cf6
dec eax
mov dword [rsp + 0x34], eax
jmp 0x180035cf6
mov rax, qword [rbp - 0x41]
lea rdx, [rbp - 0x69]
mov edi, r14d
mov r8d, 0xc
mov qword [rbp - 0x69], rdi
mov rcx, qword [rax]
call fcn.180051180
test eax, eax
jne 0x180035cea
mov edx, 0x10a
nop
mov eax, edx
sub eax, 0x109
je 0x18003609d
cmp eax, 1
jne 0x180035ce0
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
add rax, rdi
mov qword [r12], rax
dec edx
cmp edx, 0x108
ja 0x180035cc0
mov eax, dword [rsp + 0x34]
inc r14d
mov dword [rsp + 0x3c], r14d
add esi, 0x9e
cmp esi, 0x20a
jb 0x180035c80
test r14b, 7
jne 0x180035c70
mov eax, dword [rbp + 0x77]
cmp dword [rsp + 0x34], 0
jne 0x1800358c7
mov eax, 0x76
cmp eax, 0x76
je 0x180035d37
cmp eax, 0x12b
je 0x180035be6
jmp 0x180035d40
mov ebx, 2
mov dword [rsp + 0x48], ebx
add eax, 0xb5
cmp eax, 0x1e0
jb 0x180035d25
jmp 0x1800358c4
cmp eax, 0x617
ja 0x180035fb5
je 0x180035e1a
cmp eax, 0x425
je 0x180035e01
cmp eax, 0x4cb
je 0x180035d84
cmp eax, 0x571
jne 0x1800358c7
jmp 0x1800358c7
mov ecx, dword [rsp + 0x34]
cmp ecx, 8
jb 0x1800358c7
test r13b, 7
je 0x1800358c4
mov eax, 0x23
cmp eax, 0x23
je 0x180035dca
cmp eax, 0x173e
je 0x180035dba
cmp eax, 0x2e59
jne 0x180035dd1
add dword [rsp + 0x3c], 8
jmp 0x180035dd1
inc r13
add ecx, 0xfffffff8
mov qword [rbp - 0x71], r13
mov dword [rsp + 0x34], ecx
jmp 0x180035dd1
cmp byte [r13], 0xff
jne 0x180035df0
add eax, 0x171b
cmp eax, 0x4551
jbe 0x180035da0
cmp ecx, 8
jae 0x180035d91
jmp 0x1800358c4
mov dword [rbp - 0x7d], 1
mov eax, 0x571
jmp 0x1800358c7
mov rax, qword [rbp - 0x41]
mov r13d, dword [rsp + 0x3c]
shr r13, 3
add r13, qword [rax]
mov qword [rbp - 0x71], r13
jmp 0x1800358c4
cmp dword [rbp - 0x7d], 0
jne 0x1800358c7
mov ebx, dword [rsp + 0x40]
mov edx, 0x44
mov r15d, dword [rsp + 0x3c]
mov r12d, dword [rsp + 0x34]
nop word [rax + rax]
lea eax, [rdx - 0x3a]
cmp eax, 0xa
ja case.default.0x180035e56
mov ecx, dword [rdi + rax*4 + 0x360bc]
add rcx, rdi
jmp rcx
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x180035e9b
mov eax, r9d
cmp eax, 8
je 0x180035e7b
cmp eax, 0xb2
jne 0x180035e8a
dec r8d
mov dword [rsp + 0x40], r8d
jmp 0x180035e8a
cmp qword [r13], 0xffffffffffffffff
jne 0x180035e9b
add r13, 8
mov qword [rbp - 0x71], r13
add eax, 0xaa
cmp eax, 0x15c
jb 0x180035e65
test r8d, r8d
jne 0x180035e62
mov ebx, dword [rsp + 0x40]
mov edx, 0x42
jmp case.default.0x180035e56
mov eax, 0x617
mov dword [rbp + 0x77], eax
jmp 0x180035f8f
mov ebx, dword [rsp + 0x44]
mov dword [rsp + 0x40], ebx
jmp case.default.0x180035e56
mov ecx, dword [rsp + 0x44]
sub ecx, ebx
shl ecx, 6
add r15d, ecx
mov ecx, r12d
shr ecx, 3
mov dword [rsp + 0x44], ecx
jmp case.default.0x180035e56
mov eax, ebx
sub eax, dword [rsp + 0x44]
shl eax, 6
add r12d, eax
jmp case.default.0x180035e56
mov ecx, r12d
shr ecx, 6
mov dword [rsp + 0x44], ecx
jmp case.default.0x180035e56
mov eax, dword [rsp + 0x44]
mov r8d, eax
mov dword [rsp + 0x40], eax
test eax, eax
je 0x180035f8a
nop dword [rax]
mov ecx, 0xd
mov eax, ecx
sub eax, 0xd
je 0x180035f39
sub eax, 1
je 0x180035f30
cmp eax, 1
jne 0x180035f40
dec r8d
mov dword [rsp + 0x40], r8d
jmp 0x180035f40
inc r13
mov qword [rbp - 0x71], r13
jmp 0x180035f40
cmp byte [r13], 0xff
jne 0x180035f60
inc ecx
cmp ecx, 0x10
jb 0x180035f15
test r8d, r8d
jne 0x180035f10
mov ebx, dword [rsp + 0x40]
jmp case.default.0x180035e56
mov ebx, dword [rsp + 0x40]
mov dword [rbp - 0x7d], 1
mov edx, 0x3d
jmp case.default.0x180035e56
mov eax, dword [rsp + 0x44]
sub eax, ebx
lea r15d, [r15 + rax*8]
jmp case.default.0x180035e56
mov eax, ebx
sub eax, dword [rsp + 0x44]
lea r12d, [r12 + rax*8]
jmp case.default.0x180035e56
mov ebx, eax
mov eax, dword [rbp + 0x77]
dec edx
cmp edx, 0x39
ja 0x180035e40
mov ebx, dword [rsp + 0x48]
mov dword [rsp + 0x34], r12d
mov r12, qword [rbp + 0x67]
mov dword [rsp + 0x3c], r15d
mov r15, qword [rbp + 0x5f]
jmp 0x1800358c7
cmp eax, 0x6bd
je 0x180035fcc
cmp eax, 0x763
je 0x180035be6
jmp 0x1800358c7
mov ecx, dword [rsp + 0x34]
test ecx, ecx
je 0x180036089
nop dword [rax + rax]
dec ecx
mov esi, 0xfd
mov dword [rsp + 0x34], ecx
nop dword [rax + rax]
cmp esi, 0xfd
jne 0x180036068
mov rax, qword [rbp - 0x41]
lea rdx, [rbp - 0x69]
mov r14d, dword [rsp + 0x3c]
mov r8d, 0xc
mov qword [rbp - 0x69], r14
mov rcx, qword [rax]
call fcn.180051180
test eax, eax
jne 0x180036060
mov edx, 0xe2
cmp edx, 0xe2
je 0x180036044
cmp edx, 0x164
je 0x18003603e
cmp edx, 0x1e6
je 0x180035be6
jmp 0x180036052
xor eax, eax
mov ebx, eax
jmp 0x180036052
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
add rax, r14
mov qword [r12], rax
add edx, 0x82
cmp edx, 0x268
jb 0x180036020
inc r14d
mov dword [rsp + 0x3c], r14d
add esi, 0x1ca9
cmp esi, 0x1ca9
jbe 0x180035ff0
mov ecx, dword [rsp + 0x34]
test ecx, ecx
jne 0x180035fe0
mov eax, dword [rbp + 0x77]
dec ecx
mov ebx, 2
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x48], ebx
jmp 0x1800358c7
xor eax, eax
jmp 0x180035be8