Function at 0x18003da90
Capabilities:
Encode data using base64

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov rax, qword [0x180071748]
xor rax, rsp
mov qword [rbp - 9], rax
mov edi, dword [rbp + 0x77]
lea r11, [0x180000000]
mov r14, qword [rbp + 0x7f]
mov r15, r9
mov ebx, dword [rsp + 0x38]
xor r9d, r9d
mov r13, r8
mov qword [rbp - 0x61], rdx
lea eax, [rdi + 0xf]
mov qword [rbp - 0x59], rcx
mov dword [rbp - 0x71], edi
mov r10, rdx
mov dword [rbp - 0x69], eax
mov r12, rcx
mov esi, edi
cmp edi, eax
jae 0x18003e4a8
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x51], rax
nop dword [rax + rax]
lea eax, [rsi - 0x11d]
cmp eax, 0x4b
ja case.0x18003db23.299
movzx eax, byte [r11 + rax + 0x3e79c]
mov ecx, dword [r11 + rax*4 + 0x3e760]
add rcx, r11
jmp rcx
cmp qword [r14], r12
je case.0x18003db23.299
nop
cmp qword [r15], r10
je case.0x18003db23.299
mov r12, qword [rbp - 0x51]
mov edi, 0x92
cmp edi, 0x92
jne 0x18003db9f
mov rcx, qword [r14]
movzx eax, byte [rcx]
movzx r9d, word [r12 + rax*2 + 0x1e8]
test r9w, r9w
jne 0x18003db8e
mov rdx, rcx
mov rcx, qword [r12 + 0x1e0]
call qword [r12 + 0x1d8]
mov r8, qword [r14]
mov r9d, eax
movzx ecx, byte [r8]
movzx edx, byte [rcx + r13 + 0x90]
lea rcx, [r8 - 3]
add rcx, rdx
jmp 0x18003db91
inc rcx
mov qword [r14], rcx
mov rax, qword [r15]
mov word [rax], r9w
add qword [r15], 2
add edi, 0x4c6c
cmp edi, 0x4c6c
jbe 0x18003db42
mov r12, qword [rbp - 0x59]
mov r10, qword [rbp - 0x61]
cmp qword [r14], r12
jne 0x18003db30
jmp case.0x18003db23.299
mov edi, 0xff
cmp edi, 0xff
je 0x18003dbfe
cmp edi, 0xc13e
jne 0x18003dc5f
mov eax, ebx
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.180064e10
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [r14]
cmp eax, 0xf
je 0x18003e41b
cmp eax, 0x1b
jne 0x18003dc39
mov ecx, 4
mov eax, ecx
sub eax, 4
je 0x18003dc22
cmp eax, 1
je case.0x18003e4ef.13
jmp 0x18003dc32
mov rax, qword [0x180072088]
mov ebx, ILRemoveLastID
mov qword [r13], rax
inc ecx
cmp ecx, 6
jb 0x18003dc14
mov eax, dword [r14]
lea r8, [rsp + 0x38]
mov r9, r13
mov dword [rsp + 0x38], eax
xor edx, edx
mov dword [rsp + 0x20], 0x1d
xor ecx, ecx
call fcn.180005960
mov ebx, eax
mov dword [rsp + 0x38], eax
add edi, 0xc03f
cmp edi, 0x1807e
jbe 0x18003dbc8
cmp r14, r12
je case.0x18003db23.299
nop word [rax + rax]
mov eax, 0x10c
nop word [rax + rax]
mov rdi, r14
cmp eax, 0x10c
jne 0x18003deea
movzx ecx, byte [r14 + 1]
xor esi, esi
test cl, cl
jne 0x18003dcb8
movzx eax, byte [r14]
movzx eax, byte [rax + r13 + 0x90]
jmp 0x18003dce3
movzx eax, byte [r14]
lea r8, [rbp - 0x79]
mov byte [rbp - 0x79], cl
mov r9d, 0x7b
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov byte [rsp + 0x30], al
mov qword [rsp + 0x20], rsi
call fcn.18005acc0
sub eax, 5
cmp eax, 0x18
ja case.0x18003dd0c.8
lea r9, [0x180000000]
cdqe
movzx eax, byte [r9 + rax + 0x3e804]
mov ecx, dword [r9 + rax*4 + 0x3e7e8]
add rcx, r9
jmp rcx
movzx eax, byte [r14 + 1]
movzx r8d, byte [r14]
movzx ecx, byte [rax + r9 + 0x67430]
mov eax, r8d
shr eax, 5
and r8d, 0x1f
lea eax, [rax + rcx*8]
mov eax, dword [r9 + rax*4 + 0x66e30]
bt eax, r8d
jb case.0x18003dd0c.22
mov ecx, 0x3d
mov eax, ecx
sub eax, 0x3d
je 0x18003dd52
cmp eax, 1
je case.0x18003e4ef.13
jmp 0x18003dd5b
mov ebx, esi
mov qword [r15], r14
mov dword [rsp + 0x38], ebx
inc ecx
cmp ecx, 0x3f
jb 0x18003dd40
add r14, 2
jmp 0x18003dee2
mov rdx, r12
mov ecx, 0xd2
sub rdx, rdi
cmp ecx, 0xd2
je 0x18003dd9e
cmp ecx, 0x1b12
je 0x18003dd94
cmp ecx, 0x3552
je 0x18003dee2
jmp 0x18003ddc5
add r14, 2
sub rdx, 2
jmp 0x18003ddc5
cmp rdx, 2
jl 0x18003e0ad
mov eax, 0x128
nop dword [rax]
cmp eax, 0x128
je 0x18003e425
add eax, 0x57
cmp eax, 0x17f
jb 0x18003ddb0
add ecx, 0x1a40
cmp ecx, 0x4ec0
jbe 0x18003dd76
mov rdx, r12
mov ecx, 0x82
sub rdx, r14
nop
mov eax, ecx
sub eax, 0x81
je 0x18003dee2
cmp eax, 1
jne 0x18003de20
cmp rdx, 3
jl 0x18003e0ad
mov eax, 0x112
cmp eax, 0x112
je 0x18003e425
add eax, 0xd0b6
cmp eax, 0xd0b6
jbe 0x18003de01
add r14, 3
sub rdx, 3
dec ecx
cmp ecx, 0x80
ja 0x18003dde0
mov edx, 0x95
nop
cmp edx, 0x95
je 0x18003de7f
cmp edx, 0x34f7
je 0x18003de51
cmp edx, 0x6959
jne 0x18003de8f
add r14, 4
jmp 0x18003dee2
mov ecx, 0xa1
mov eax, ecx
sub eax, 0xa1
je 0x18003de6a
cmp eax, 1
je case.0x18003e4ef.13
jmp 0x18003de73
mov ebx, esi
mov qword [r15], r14
mov dword [rsp + 0x38], ebx
inc ecx
cmp ecx, 0xa3
jb 0x18003de56
jmp 0x18003de8f
mov rax, r12
sub rax, r14
cmp rax, 4
jl 0x18003e0ad
add edx, 0x3462
cmp edx, 0x9d26
jbe 0x18003de30
nop dword [rax]
lea rax, [r14 + 2]
mov qword [r15], rax
mov eax, 9
jmp 0x18003dbde
mov ecx, 0x15
mov eax, ecx
sub eax, 0x15
je 0x18003ded5
sub eax, 1
je 0x18003decd
cmp eax, 1
je case.0x18003e4ef.13
jmp 0x18003ded8
mov ebx, esi
mov dword [rsp + 0x38], ebx
jmp 0x18003ded8
mov qword [r15], rdi
inc ecx
mov r14, rdi
cmp ecx, 0x18
jb 0x18003deb6
mov eax, 0x10c
lea esi, [rax + 0x12]
add eax, 0x13
cmp eax, 0x11f
jb 0x18003dc90
cmp r14, r12
jne 0x18003dc80
jmp case.0x18003db23.299
movzx eax, word [0x18006a491]
mov word [rbp - 0x45], ax
movzx eax, byte [0x18006a493]
mov byte [rbp - 0x43], al
mov byte [rbp - 0x42], 0
jmp case.0x18003db23.299
mov dword [rbp - 0x49], 0x4c746547
jmp case.0x18003db23.299
cmp r14, r12
je 0x18003e456
movzx ecx, byte [r14 + 1]
test cl, cl
jne 0x18003df51
movzx eax, byte [r14]
movzx eax, byte [rax + r13 + 0x90]
jmp 0x18003df86
movzx eax, byte [r14]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], r9
xor edx, edx
mov qword [rsp + 0x20], r9
mov r9d, 0x7b
mov byte [rsp + 0x30], cl
lea rcx, [rbp - 0x79]
mov byte [rbp - 0x79], al
call fcn.18005acc0
xor r9d, r9d
lea r11, [0x180000000]
sub eax, 5
cmp eax, 0x18
ja case.0x18003dfa8.11
cdqe
movzx eax, byte [r11 + rax + 0x3e83c]
mov ecx, dword [r11 + rax*4 + 0x3e820]
add rcx, r11
jmp rcx
movzx eax, byte [r14 + 1]
movzx r8d, byte [r14]
movzx ecx, byte [rax + r11 + 0x67330]
mov eax, r8d
shr eax, 5
and r8d, 0x1f
lea eax, [rax + rcx*8]
mov eax, dword [r11 + rax*4 + 0x66e30]
bt eax, r8d
jb case.0x18003dfa8.9
mov eax, 0x45
nop dword [rax]
cmp eax, 0x45
je 0x18003dff2
cmp eax, 0x2b2
je case.0x18003e4ef.13
jmp 0x18003dffc
mov ebx, r9d
mov qword [r15], r14
mov dword [rsp + 0x38], ebx
add eax, 0x26d
cmp eax, 0x4da
jbe 0x18003dfe0
add r14, 2
mov esi, 0x11d
jmp case.0x18003db23.299
mov r8, r12
mov edx, 0xe0
sub r8, r14
mov eax, edx
sub eax, 0xe0
je 0x18003e035
cmp eax, 0x56
je 0x18003e199
jmp 0x18003e06e
cmp r8, 2
jl 0x18003e0ad
mov ecx, 0x89
mov eax, ecx
sub eax, 0x88
je case.0x18003e4ef.13
cmp eax, 1
jne 0x18003e05c
mov ebx, r9d
mov qword [r15], r14
mov dword [rsp + 0x38], ebx
dec ecx
cmp ecx, 0x87
ja 0x18003e040
add r14, 2
sub r8, 2
add edx, 0x56
cmp edx, 0x18c
jb 0x18003e021
mov r8, r12
mov edx, 0xa0
sub r8, r14
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
sub eax, 0x9e
je 0x18003e199
sub eax, 1
je 0x18003e0b7
cmp eax, 1
jne 0x18003e0f8
cmp r8, 3
jge 0x18003e0f8
mov eax, 0xfffffffe
jmp 0x18003dbde
mov ecx, 0xfc
nop dword [rax]
mov eax, ecx
sub eax, 0xfc
je 0x18003e0e2
sub eax, 0x52
je 0x18003e0d9
cmp eax, 0x52
je case.0x18003e4ef.13
jmp 0x18003e0e5
mov ebx, r9d
mov dword [rsp + 0x38], ebx
jmp 0x18003e0e5
mov qword [r15], r14
add ecx, 0x52
cmp ecx, 0x1f2
jb 0x18003e0c0
add r14, 3
sub r8, 3
dec edx
cmp edx, 0x9d
ja 0x18003e090
mov ecx, 0x95
nop word [rax + rax]
cmp ecx, 0x3c88
ja case.0x18003dfa8.8
cmp ecx, 0x95
je 0x18003e147
cmp ecx, 0x1ed9
jne 0x18003e157
mov eax, 0xa2
cmp eax, 0xa2
je 0x18003e15f
cmp eax, 0x5c64
jne 0x18003e162
mov eax, r9d
jmp 0x18003dbde
mov rax, r12
sub rax, r14
cmp rax, 4
jl 0x18003e0ad
add ecx, 0x1e44
jmp 0x18003e110
mov qword [r15], r14
add eax, 0x5bc2
cmp eax, 0xb784
jbe 0x18003e131
add r14, 4
mov esi, 0x11d
jmp case.0x18003db23.299
mov ecx, 0x4a
mov eax, ecx
sub eax, 0x4a
je 0x18003e18f
cmp eax, 1
je 0x18003e13f
jmp 0x18003e192
mov qword [r15], r14
inc ecx
cmp ecx, 0x4c
jb 0x18003e181
mov esi, 0x11d
jmp case.0x18003db23.299
mov r8d, 4
lea rdx, [0x18006a4ab]
lea rcx, [rbp - 0x42]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp case.0x18003db23.299
mov qword [rbp - 0x51], r13
jmp case.0x18003db23.299
mov byte [rbp - 0x3e], 0
jmp case.0x18003db23.299
mov ebx, 0xffffffff
mov dword [rsp + 0x38], ebx
jmp case.0x18003db23.299
mov eax, dword [r14]
cmp eax, 0xf
je 0x18003e460
cmp eax, 0x12
je 0x18003e203
cmp eax, 0x17
je 0x18003e303
mov esi, 0x13b
jmp case.0x18003db23.299
mov edi, 0x23
cmp edi, 0x23
je 0x18003e21e
cmp edi, 0x299
je 0x18003e340
jmp 0x18003e2f1
lea r9, str.EMPTY
mov r8, r15
mov rdx, r12
mov rcx, r10
call qword [r10 + 0x38]
test eax, eax
je 0x18003e28a
mov ecx, 0xbf
nop dword [rax + rax]
cmp ecx, 0xbf
je 0x18003e269
cmp ecx, 0x159
je 0x18003e25e
cmp ecx, 0x1f3
je case.0x18003e4ef.13
jmp 0x18003e27c
mov ebx, 0x2a
mov dword [rsp + 0x38], ebx
jmp 0x18003e27c
mov rax, qword [0x180072170]
mov qword [r13], rax
mov dword [r13 + 0xc], 0x27
add ecx, 0x9a
cmp ecx, 0x28d
jb 0x18003e240
mov rax, qword [rbp - 0x61]
lea r9, [0x180066e04]
mov r8, r15
mov rdx, r12
mov rcx, rax
call qword [rax + 0x38]
test eax, eax
je 0x18003e2ed
mov ecx, 9
nop word [rax + rax]
cmp ecx, 9
je 0x18003e2c3
cmp ecx, 0x144
je case.0x18003e4ef.13
jmp 0x18003e2df
mov rax, qword [0x180072170]
mov ebx, 0x29
mov qword [r13], rax
mov dword [rsp + 0x38], ebx
mov dword [r13 + 0xc], 0x27
add ecx, 0x13b
cmp ecx, 0x276
jbe 0x18003e2b0
mov r10, qword [rbp - 0x61]
add edi, 0x276
cmp edi, 0x4ec
jbe 0x18003e208
mov ecx, 0x79
cmp ecx, 0x79
je 0x18003e31f
cmp ecx, 0x5ac0
jne 0x18003e332
mov eax, 0x2c
jmp 0x18003dbde
mov rax, qword [0x180072118]
mov qword [r13], rax
mov dword [r13 + 8], 1
add ecx, 0x5a47
cmp ecx, 0xb48e
jbe 0x18003e308
mov esi, 0x13b
jmp case.0x18003db23.299
mov eax, dword [r14]
cmp eax, 0xf
je 0x18003e13f
cmp eax, 0x12
jne 0x18003e3d2
mov ebx, 0xe9
cmp ebx, 0xe9
je 0x18003e3a4
cmp ebx, 0xa3d4
je 0x18003e37a
cmp ebx, 0x146bf
je 0x18003e3d2
jmp 0x18003e3c4
lea r9, str.IGNORE
mov r8, r15
mov rdx, r12
mov rcx, r10
call qword [r10 + 0x38]
test eax, eax
je 0x18003e3c0
mov rax, qword [0x180072168]
mov qword [r13], rax
xor eax, eax
jmp 0x18003dbde
lea r9, str.INCLUDE
mov r8, r15
mov rdx, r12
mov rcx, r10
call qword [r10 + 0x38]
test eax, eax
jne 0x18003e470
mov r10, qword [rbp - 0x61]
add ebx, 0xa2eb
cmp ebx, 0x1e8c1
jbe 0x18003e360
mov eax, dword [r14]
lea r8, [rsp + 0x38]
mov r9, r13
mov dword [rsp + 0x38], eax
xor edx, edx
mov dword [rsp + 0x20], 0x1d
xor ecx, ecx
mov esi, 0x159
call fcn.180005960
mov ebx, eax
mov dword [rsp + 0x38], eax
inc esi
cmp esi, dword [rbp - 0x69]
jae 0x18003e4a5
mov r10, qword [rbp - 0x61]
lea r11, [0x180000000]
xor r9d, r9d
jmp 0x18003db00
mov eax, 0xb
jmp 0x18003dbde
mov qword [r15], r14
mov eax, esi
jmp 0x18003dbde
lea rax, [r14 + 2]
mov r9, r13
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r15
mov dword [rsp + 0x20], 0x11a
mov rcx, r12
call fcn.180059fe0
jmp 0x18003dbde
mov eax, 0xffffffff
jmp 0x18003dbde
mov eax, 0x27
jmp 0x18003dbde
mov rax, qword [0x180072160]
mov qword [r13], rax
xor eax, eax
jmp 0x18003dbde
mov eax, dword [r14]
lea r8, [rbp - 0x69]
mov r9, r13
mov dword [rbp - 0x69], eax
xor edx, edx
mov dword [rsp + 0x20], 0x1d
xor ecx, ecx
call fcn.180005960
jmp 0x18003dbde
mov edi, dword [rbp - 0x71]
lea r15d, [rdi + 0xe]
cmp edi, r15d
jae case.0x18003e4ef.13
mov r12, qword [rbp - 0x59]
lea esi, [rdi - 0x12c]
mov edx, 0x6c
lea r8d, [rdx - 1]
lea r10d, [rdx - 0x39]
lea r11d, [rdx - 0x3a]
lea r9d, [rdx - 7]
cmp esi, 0xd
ja case.default.0x18003e4ef
lea r14, [0x180000000]
mov ecx, dword [r14 + rsi*4 + 0x3e858]
add rcx, r14
jmp rcx
mov rax, qword [r13 + 8]
cmp qword [r13], rax
setne byte [rsp + 0x38]
mov ebx, dword [rsp + 0x38]
jmp case.default.0x18003e4ef
mov word [rbp - 0x2c], 0x6e
mov word [rbp - 0x29], r8w
jmp case.default.0x18003e4ef
mov eax, dword [0x18006a52f]
mov dword [rbp - 0x3e], eax
movzx eax, byte [0x18006a533]
mov byte [rbp - 0x3a], al
mov byte [rbp - 0x39], 0
jmp case.default.0x18003e4ef
mov r14, qword [r13 + 8]
mov rdx, qword [r13]
mov rcx, r14
mov edi, dword [rbp - 0x6d]
sub rcx, rdx
sar rcx, 5
shr rdi, 5
mov byte [rsp + 0x30], 0
cmp rdi, rcx
jae 0x18003e563
shl rdi, 5
add rdi, rdx
mov qword [r13 + 8], rdi
jmp 0x18003e5a8
jbe 0x18003e5a8
mov rax, qword [r13 + 0x10]
sub rax, rdx
sar rax, 5
cmp rdi, rax
jbe 0x18003e587
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, r13
call fcn.180002f00
jmp 0x18003e5a8
sub rdi, rcx
je 0x18003e5a4
mov r8, rdi
xor edx, edx
shl r8, 5
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
shl rdi, 5
add r14, rdi
mov qword [r13 + 8], r14
mov rcx, qword [r13]
lea rdx, [rbp - 0x6d]
call r12
test eax, eax
jne 0x18003e5fc
mov ecx, 0xf5
nop dword [rax]
mov eax, ecx
sub eax, 0xf3
je case.0x18003e4ef.13
sub eax, 1
je 0x18003e5e1
cmp eax, 1
jne 0x18003e5f2
mov rax, qword [r13]
mov qword [r13 + 8], rax
jmp 0x18003e5f2
mov rax, qword [r13 + 8]
cmp qword [r13], rax
setne byte [rsp + 0x38]
mov ebx, dword [rsp + 0x38]
dec ecx
cmp ecx, 0xf2
ja 0x18003e5c0
mov edi, dword [rbp - 0x71]
mov r11d, 0x32
lea r10d, [r11 + 1]
lea r9d, [r11 + 0x33]
lea r8d, [r11 + 0x39]
lea edx, [r11 + 0x3a]
inc edi
inc esi
mov dword [rbp - 0x71], edi
cmp edi, r15d
jb 0x18003e4d4
jmp case.0x18003e4ef.13
mov dword [rbp - 0x21], 0x6c0065
mov dword [rbp - 0x1d], 0x320033
jmp case.default.0x18003e4ef
xor r14d, r14d
lea r8, [rbp - 0x49]
xor r9d, r9d
mov word [rbp - 0x11], r14w
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x20], r14
lea edx, [r14 + 0x25]
call fcn.18002be80
mov r12, rax
mov dword [rbp - 0x6d], r14d
jmp 0x18003e5ff
mov dword [rbp - 0x19], 0x64002e
mov dword [rbp - 0x15], 0x6c006c
jmp case.default.0x18003e4ef
mov word [rbp - 0x27], r9w
mov dword [rbp - 0x25], 0x6e0072
jmp case.default.0x18003e4ef
mov r8d, 2
mov byte [rbp - 0x2e], 0
lea rdx, [0x18006a561]
lea rcx, [rbp - 0x2e]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp - 0x2c], 0
jmp 0x18003e5ff
mov r8d, 1
mov byte [rbp - 0x2f], 0
lea rdx, [0x18006a57f]
lea rcx, [rbp - 0x2f]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x18003e5ff
movzx eax, word [0x18006a659]
lea rdx, [0x18006a6aa]
mov word [rbp - 0x39], ax
lea rcx, [rbp - 0x36]
movzx eax, byte [0x18006a65b]
mov r8d, 2
mov byte [rbp - 0x37], al
mov byte [rbp - 0x36], 0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x18003e5ff
mov r8d, 2
mov byte [rbp - 0x34], 0
lea rdx, [0x18006a6df]
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
movzx eax, word [0x18006a6fa]
mov word [rbp - 0x32], ax
movzx eax, byte [0x18006a6fc]
mov byte [rbp - 0x30], al
jmp 0x18003e5ff
lea rdx, [rbp - 0x6d]
xor ecx, ecx
call r12
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x18003e5ff
mov rax, qword [r13 + 8]
cmp qword [r13], rax
setne byte [rsp + 0x38]
mov eax, dword [rsp + 0x38]
jmp 0x18003dbde