Function at 0x1800cd210
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov rax, qword [rcx + 0x28]
mov rsi, qword [rcx]
movsxd rdi, edx
mov r14, qword [rsi + 0x18]
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 0x10]
lea r10, [rdi + rdi*4]
xor ebp, ebp
mov qword [rsp + 0x90], r14
add r10, r10
lea r13, [rcx + r10*8 + 0x38]
lea ecx, [rbp + 1]
movzx edx, byte [r13 + 0x2c]
mov qword [rsp + 0x50], r13
imul rdx, rdx, 0x58
mov r12d, dword [rdx + rax + 0x34]
lea r15, [rdx + rax + 8]
mov eax, dword [r13]
mov dword [rsp + 0xf8], r12d
mov ebx, eax
mov qword [rsp + 0x70], r15
shr ebx, 0x19
and ebx, 1
bt eax, 0x17
mov dword [rsp + 0x30], ebx
jae 0x1800cd2a8
mov dword [rsp + 0x38], ecx
test r8b, 0x40
je 0x1800cd2ac
mov dword [rsp + 0x38], ebp
mov rcx, r14
call fcn.180084a00
mov rcx, r14
mov dword [rsp + 0x34], eax
mov dword [r13 + 0x20], eax
mov dword [r13 + 0x1c], eax
call fcn.180084a00
mov dword [rsp + 0x80], eax
mov dword [r13 + 0x24], eax
cmp byte [r13 + 0x2c], bpl
jbe 0x1800cd2fe
test byte [r15 + 0x29], 8
je 0x1800cd2fe
inc dword [rsi + 0x58]
mov r9d, dword [rsi + 0x58]
xor r8d, r8d
lea edx, [r8 + 7]
mov rcx, r14
mov dword [rsp + 0x20], ebp
mov dword [r13 + 0x10], r9d
call fcn.1800848c0
mov ecx, dword [r13]
mov qword [rsp + 0x98], 0xa
bt ecx, 0x1b
jae 0x1800cd6ac
mov rax, qword [r13 + 8]
mov ecx, dword [rsi + 0x48]
mov r8d, dword [rsi + 0x4c]
movsxd rdx, dword [rax]
mov r9, qword [rax + 8]
mov r15, qword [rax + 0x20]
inc dword [rsi + 0x64]
lea r10d, [rdx + 2]
mov qword [rsp + 0x70], rax
cmp r10d, ecx
mov qword [rsp + 0x68], r9
mov dword [rsp + 0x44], r10d
mov dword [rsp + 0x30], r8d
jg 0x1800cd35d
lea eax, [r8 + r10]
sub ecx, r10d
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x48], ecx
jmp 0x1800cd36f
mov eax, dword [rsi + 0x58]
lea r8d, [rax + 1]
add eax, r10d
mov dword [rsp + 0x30], r8d
mov dword [rsi + 0x58], eax
mov edi, 1
mov r12, rdx
cmp edx, edi
jl 0x1800cd419
mov r14d, edx
mov ebx, ebp
mov rax, rbp
test r12, r12
jle 0x1800cd3f7
nop dword [rax]
cmp dword [r15 + rax*8], edi
je 0x1800cd3a2
inc rax
inc ebx
cmp rax, r12
jl 0x1800cd390
jmp 0x1800cd3f7
lea rax, [rax + rax*2]
lea r13d, [r8 + rdi + 1]
movsxd rcx, dword [r9 + rax*4 + 8]
mov rax, qword [rsp + 0x78]
mov r8d, r13d
mov rax, qword [rax + 0x28]
imul rcx, rcx, 0x38
mov rcx, qword [rcx + rax]
mov rdx, qword [rcx + 0x18]
mov rcx, rsi
call fcn.1800981a0
cmp eax, r13d
je 0x1800cd3f2
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1800cd3f2
mov r9d, r13d
mov r8d, eax
mov edx, 0xf
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov r9, qword [rsp + 0x68]
cmp ebx, r14d
je 0x1800cd40c
mov r8d, dword [rsp + 0x30]
inc edi
cmp edi, r14d
jle 0x1800cd382
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
movsxd rbx, dword [r14 + 0x18]
cmp dword [r14 + 0x1c], ebx
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x38], eax
jg 0x1800cd43b
mov rcx, r14
call fcn.180084820
test eax, eax
jne 0x1800cd475
mov rax, qword [r14 + 0x20]
inc dword [r14 + 0x18]
mov edx, dword [rsp + 0x38]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x30]
mov byte [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 1], bpl
mov byte [r14 + 0xa2], bpl
movsxd rbx, dword [r14 + 0x18]
cmp dword [r14 + 0x1c], ebx
jg 0x1800cd48b
mov rcx, r14
call fcn.180084820
test eax, eax
jne 0x1800cd4c6
inc dword [r14 + 0x18]
mov rcx, qword [r14 + 0x20]
lea rdx, [rbx + rbx*2]
lea eax, [rdi - 1]
mov byte [rcx + rdx*8], 7
mov byte [rcx + rdx*8 + 3], bpl
mov dword [rcx + rdx*8 + 4], eax
mov eax, dword [rsp + 0x30]
mov dword [rcx + rdx*8 + 0xc], ebp
inc eax
mov qword [rcx + rdx*8 + 0x10], rbp
mov byte [rcx + rdx*8 + 1], bpl
mov dword [rcx + rdx*8 + 8], eax
mov byte [r14 + 0xa2], bpl
mov rax, qword [rsp + 0x70]
movsxd rbx, dword [r14 + 0x18]
mov edi, 0xfffffffe
cmp dword [rax + 0x38], ebp
mov rax, qword [rax + 0x30]
mov ecx, 0xfffffff5
cmovne edi, ecx
cmp dword [r14 + 0x1c], ebx
mov qword [rsp + 0x60], rax
jg 0x1800cd501
mov rcx, r14
call fcn.180084820
test eax, eax
je 0x1800cd501
mov ebx, 1
jmp 0x1800cd546
mov rax, qword [r14 + 0x20]
inc dword [r14 + 0x18]
mov r8d, dword [rsp + 0xf8]
mov r9d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 0x80
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], bpl
mov byte [r14 + 0xa2], bpl
mov r8, qword [rsp + 0x60]
mov r9d, edi
mov edx, ebx
mov rcx, r14
call fcn.180084ea0
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x38], ebp
test r12, r12
jle 0x1800cd5e2
mov r11, qword [rsp + 0x68]
mov r14, qword [rsp + 0x78]
lea r10, [r15 + 4]
add r11, 8
cmp byte [r10], bpl
je 0x1800cd5cc
movsxd rcx, dword [r11]
imul rcx, rcx, 0x38
add rcx, qword [r14 + 0x28]
je 0x1800cd5cc
movzx edx, byte [rcx + 0x1a]
test dl, 4
jne 0x1800cd5cc
cmp dword [r13 + 0x10], ebp
je 0x1800cd5a1
mov rax, qword [rcx]
test byte [rax + 2], 1
je 0x1800cd5cc
movsxd rax, dword [rcx + 8]
or dl, 4
mov byte [rcx + 0x1a], dl
test eax, eax
js 0x1800cd5cc
mov rdx, rax
mov rax, qword [rcx + 0x20]
imul rdx, rdx, 0x38
add rdx, qword [rax + 0x28]
add byte [rdx + 0x1b], 0xff
jne 0x1800cd5cc
mov rcx, r13
call fcn.1800cccb0
add r10, 8
add r11, 0xc
sub r12, 1
jne 0x1800cd577
mov r14, qword [rsp + 0x90]
mov r12d, dword [rsp + 0xf8]
mov r10d, dword [rsp + 0x44]
mov byte [r13 + 0x2d], 0x83
mov dword [r13 + 0x30], r12d
mov eax, dword [r14 + 0x18]
mov r11d, 0xa
mov dword [r13 + 0x34], eax
mov eax, dword [rsp + 0x30]
lea rcx, [rsi + 0x80]
lea r9d, [r10 + rax - 1]
mov r8, r11
nop dword [rax]
mov edx, dword [rcx]
cmp edx, eax
jl 0x1800cd64d
cmp edx, r9d
jg 0x1800cd64d
cmp byte [rcx - 8], bpl
je 0x1800cd64b
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x1800cd643
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov eax, dword [rsp + 0x30]
mov byte [rcx - 8], bpl
mov dword [rcx], ebp
add rcx, 0x18
sub r8, 1
jne 0x1800cd620
cmp r10d, dword [rsi + 0x48]
jle 0x1800cd664
mov dword [rsi + 0x48], r10d
mov dword [rsi + 0x4c], eax
dec dword [rsi + 0x64]
lea rcx, [rsi + 0x80]
mov r8, r11
mov edx, dword [rcx]
test edx, edx
je 0x1800cd69d
mov eax, dword [rsi + 0x64]
cmp dword [rcx - 4], eax
jle 0x1800cd69d
cmp byte [rcx - 8], bpl
je 0x1800cd69b
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x1800cd697
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov byte [rcx - 8], bpl
mov dword [rcx], ebp
add rcx, 0x18
sub r8, 1
jne 0x1800cd671
jmp 0x1800ce22d
bt ecx, 0xc
jae 0x1800cd772
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x1800cd6c7
inc dword [rsi + 0x58]
mov r15d, dword [rsi + 0x58]
jmp 0x1800cd6d4
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov r15d, dword [rsi + rax*4 + 0x28]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax + 0x28]
mov eax, dword [rax + 0x1c]
test eax, eax
je 0x1800cd711
mov r9, qword [rsp + 0x108]
nop dword [rax]
cmp dword [rdx + 0xc], r12d
jne 0x1800cd708
test qword [rdx + 0x28], r9
jne 0x1800cd708
cmp dword [rdx + 0x10], 0xffffffff
jne 0x1800cd708
test byte [rdx + 0x18], 3
jne 0x1800cd714
add rdx, 0x38
sub eax, 1
jne 0x1800cd6f0
mov rdx, rbp
mov r9d, r15d
mov r8, r13
mov rcx, rsi
call fcn.1800ccdd0
mov ebx, dword [r13 + 0x20]
mov edx, 0x15
mov rcx, r14
mov r9d, ebx
mov r8d, eax
mov edi, eax
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov r9d, ebx
mov r8d, r12d
mov edx, 0x34
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.1800848c0
mov r9d, edi
or r8d, 0xffffffff
mov edx, r12d
mov rcx, rsi
call fcn.180097d00
mov byte [r13 + 0x2d], 0x88
jmp 0x1800ce230
bt ecx, 0xd
jae 0x1800cd9e8
mov rax, qword [rsp + 0x78]
mov r8d, dword [rsp + 0xf8]
mov r15d, 0x88
mov ecx, dword [rax + 0x1c]
mov r12, qword [rax + 0x28]
mov dword [rsp + 0x3c], ebp
mov r13, r12
mov eax, ecx
test ecx, ecx
je 0x1800cd7ce
cmp dword [r13 + 0xc], r8d
jne 0x1800cd7c5
mov rdx, qword [rsp + 0x108]
test qword [r13 + 0x28], rdx
jne 0x1800cd7c5
cmp dword [r13 + 0x10], 0xffffffff
jne 0x1800cd7c5
test byte [r13 + 0x18], 0x24
jne 0x1800cd7d9
add r13, 0x38
sub eax, 1
jne 0x1800cd7a3
mov rdx, qword [rsp + 0x108]
mov r13, rbp
test ecx, ecx
je 0x1800cd807
nop dword [rax]
cmp dword [r12 + 0xc], r8d
jne 0x1800cd7fe
test qword [r12 + 0x28], rdx
jne 0x1800cd7fe
cmp dword [r12 + 0x10], 0xffffffff
jne 0x1800cd7fe
test byte [r12 + 0x18], 0x18
jne 0x1800cd80a
add r12, 0x38
sub ecx, 1
jne 0x1800cd7e0
mov r12, rbp
test ebx, ebx
je 0x1800cd817
mov rax, r13
mov r13, r12
mov r12, rax
test r13, r13
je 0x1800cd893
mov rbx, qword [r13]
lea r8, [rsp + 0x38]
mov rcx, rsi
mov rdx, qword [rbx + 0x18]
mov byte [rsp + 0x48], 0x2f
mov byte [rsp + 0x49], 0x2d
mov byte [rsp + 0x4a], 0x2c
mov byte [rsp + 0x4b], 0x2e
call fcn.180099520
movzx ecx, byte [rbx]
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0xf8]
movzx edx, byte [rsp + rcx - 5]
mov rcx, r14
mov edi, eax
mov dword [rsp + 0x20], eax
call fcn.1800848c0
mov r8d, 1
mov edx, edi
mov rcx, rsi
call fcn.180097ff0
mov edx, dword [rsp + 0x38]
call fcn.18009aa80
mov rdi, qword [rsp + 0x50]
mov rdx, r13
mov rcx, rdi
call fcn.1800cccb0
jmp 0x1800cd8b8
mov r9d, dword [rsp + 0x34]
mov edx, 0x41
mov eax, 0x3f
test ebx, ebx
mov rcx, r14
mov dword [rsp + 0x20], ebp
cmovne edx, eax
call fcn.1800848c0
mov rdi, qword [rsp + 0x50]
test r12, r12
je 0x1800cd919
mov rbx, qword [r12]
inc dword [rsi + 0x58]
mov eax, dword [rsi + 0x58]
mov rdx, qword [rbx + 0x18]
mov r8d, eax
mov rcx, rsi
mov dword [rsp + 0x3c], eax
call fcn.1800995c0
movzx r11d, byte [rbx]
cmp r11b, 0x4f
je 0x1800cd8f5
cmp r11b, 0x4d
je 0x1800cd8f5
mov eax, 0x4f
lea r15d, [rax - 2]
jmp 0x1800cd900
mov eax, 0x4e
mov r15d, 0x50
mov r10d, dword [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
test r10d, r10d
cmovne r15d, eax
call fcn.1800cccb0
jmp 0x1800cd91e
mov r10d, dword [rsp + 0x30]
mov ecx, dword [r14 + 0x18]
test r10d, r10d
sete al
mov dword [rdi + 0x34], ecx
add al, 0x42
test r13, r13
mov r13, qword [rsp + 0x50]
mov byte [rdi + 0x2d], al
mov eax, dword [rsp + 0xf8]
mov dword [rdi + 0x30], eax
jne 0x1800cd94e
test r12, r12
jne 0x1800cd94e
mov byte [r13 + 0x2e], 1
cmp r15d, 0x88
je 0x1800ce22a
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x1800cd96b
inc dword [rsi + 0x58]
mov ebx, dword [rsi + 0x58]
jmp 0x1800cd977
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov ebx, dword [rsi + rax*4 + 0x28]
mov r12d, dword [rsp + 0xf8]
mov r9d, ebx
mov edx, 0x3d
mov rcx, r14
mov r8d, r12d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov r9d, ebx
or r8d, 0xffffffff
mov edx, r12d
mov rcx, rsi
call fcn.180097d00
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x3c]
mov edx, r15d
mov rcx, r14
mov dword [rsp + 0x20], ebx
call fcn.1800848c0
mov r11, qword [r14 + 0x20]
mov r15d, ebx
test r11, r11
je 0x1800ce230
movsxd rax, dword [r14 + 0x18]
lea rcx, [rax + rax*2]
mov byte [r11 + rcx*8 - 0x15], 0x6b
jmp 0x1800ce230
test ecx, 0x30000
je 0x1800cdec8
test byte [rsp + 0x100], 1
mov eax, dword [r13 + 0x18]
mov rbx, qword [r13 + 8]
movsxd rdi, dword [r13 + 4]
mov dword [rsp + 0x5c], eax
mov rax, qword [rbx + 0x10]
mov eax, dword [rax + rdi*4]
mov dword [rsp + 0x68], ebp
mov r15, rbp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x50], rbp
mov edx, ebp
mov dword [rsp + 0x44], eax
je 0x1800cda40
bt ecx, 0x18
jae 0x1800cda40
cmp dword [rbx + 8], edi
jle 0x1800cda40
mov edx, 1
mov dword [rsp + 0x68], edx
bt ecx, 0x14
jae 0x1800cda79
mov r9, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x78]
mov r8d, eax
mov edx, r12d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x18
call fcn.1800c98e0
mov edx, 1
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x44]
bt dword [r13], 0x15
jae 0x1800cdab3
mov r9, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x78]
mov r8d, eax
mov edx, r12d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x24
call fcn.1800c98e0
mov edx, 1
mov r15, rax
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x78]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
mov rcx, rsi
mov rdx, r13
call fcn.1800ccfb0
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsi]
mov dword [rsp + 0x34], eax
call fcn.1800649e0
cmp edi, dword [rbx + 8]
mov qword [rsp + 0x70], rax
mov eax, dword [r13 + 0x20]
mov dword [rsp + 0x48], eax
jge 0x1800cdb2f
mov rcx, qword [rbx + 0x48]
mov r10d, dword [rsp + 0x30]
mov edx, ebp
cmp byte [rdi + rcx], dl
sete dl
cmp r10d, edx
jne 0x1800cdb2f
mov rcx, qword [rsp + 0x50]
mov rax, r15
mov r15, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
jmp 0x1800cdb34
mov rax, qword [rsp + 0x50]
test r15, r15
je 0x1800cdb4b
test byte [r15 + 0x18], 0x28
jne 0x1800cdb4b
mov dword [rsp + 0x3c], ebp
mov ecx, 1
jmp 0x1800cdb54
mov ecx, 1
mov dword [rsp + 0x3c], ecx
test rax, rax
je 0x1800cdb63
test byte [rax + 0x18], 0x28
mov dword [rsp + 0x44], ebp
je 0x1800cdb67
mov dword [rsp + 0x44], ecx
test r15, r15
jne 0x1800cdb74
mov dword [rsp + 0x58], ebp
test edi, edi
jle 0x1800cdb78
mov dword [rsp + 0x58], ecx
mov ebx, edi
test r15, r15
je 0x1800cdbe8
mov rax, qword [r15]
mov ebx, dword [rsp + 0x34]
mov rcx, rsi
mov r15, qword [rax + 0x18]
add ebx, edi
mov rdx, r15
mov r8d, ebx
call fcn.1800995c0
mov r9d, dword [rsp + 0x48]
mov r8d, ebx
mov rdx, r15
mov rcx, r14
call fcn.180096890
mov rbx, qword [rsp + 0x88]
test rbx, rbx
je 0x1800cdbe1
movzx edx, byte [rdi + rbx]
mov rcx, r15
call fcn.180094d40
cmp al, 0x62
jne 0x1800cdbcd
mov byte [rdi + rbx], al
movzx edx, byte [rdi + rbx]
mov rcx, r15
call fcn.1800968e0
test eax, eax
je 0x1800cdbe1
mov byte [rdi + rbx], 0x62
mov r15, qword [rsp + 0x60]
jmp 0x1800cdc15
cmp dword [rsp + 0x68], ebp
je 0x1800cdc18
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 0xa]
add r9d, edi
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x58], 1
lea ebx, [rdi + 1]
mov r9, qword [rsp + 0x88]
mov edx, dword [rsp + 0x34]
mov r8d, ebx
mov rcx, rsi
call fcn.1800ccd10
movsxd rdx, dword [rsp + 0x30]
movsxd rax, dword [rsp + 0x3c]
movsxd rcx, dword [rsp + 0x58]
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x5c]
lea rcx, [rax + rcx*2]
mov dword [rsp + 0x28], ebx
lea rax, [rdx + rcx*2]
lea rcx, [0x180000000]
movzx edx, byte [rax + rcx + 0x12c330]
mov eax, dword [rsp + 0x34]
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.180084960
mov rax, qword [rsp + 0x50]
mov ebx, edi
test rax, rax
je 0x1800cdd16
mov rax, qword [rax]
mov ebx, dword [rsp + 0x34]
mov r8d, 1
mov rax, qword [rax + 0x18]
add ebx, edi
mov rcx, rsi
mov edx, ebx
mov qword [rsp + 0x60], rax
call fcn.180097ff0
mov rdx, qword [rsp + 0x60]
mov r8d, ebx
call fcn.1800995c0
mov r9d, dword [rsp + 0x48]
mov r8d, ebx
mov rbx, qword [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.180096890
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x1800cdd04
movzx edx, byte [rdi + r9]
mov rcx, rbx
call fcn.180094d40
mov r9, qword [rsp + 0x70]
cmp al, 0x62
jne 0x1800cdcee
mov byte [rdi + r9], al
movzx edx, byte [rdi + r9]
mov rcx, rbx
call fcn.1800968e0
test eax, eax
je 0x1800cdd04
mov byte [rdi + r9], 0x62
mov edx, dword [rsp + 0x34]
lea ebx, [rdi + 1]
mov rcx, rsi
mov r8d, ebx
call fcn.1800ccd10
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsi]
call fcn.1800645a0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsi]
call fcn.1800645a0
mov r12, qword [rsp + 0x50]
mov eax, dword [r14 + 0x18]
mov dword [r13 + 0x34], eax
test r12, r12
jne 0x1800cdd4d
test edi, edi
jne 0x1800cdd4d
mov eax, ebp
jmp 0x1800cdd52
mov eax, 1
movsxd rcx, dword [rsp + 0x30]
cdqe
inc rcx
imul rcx, rax
lea rax, [0x180000000]
movzx edx, byte [rcx + rax + 0x12c0a4]
cmp edx, 0x88
je 0x1800cddb6
mov eax, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x5c]
mov rcx, r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.180084960
mov r11, qword [r14 + 0x20]
test r11, r11
je 0x1800cddb6
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x30]
movsxd rax, dword [r14 + 0x18]
lea rcx, [rax + rax*2]
setne dl
mov byte [r11 + rcx*8 - 0x15], dl
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x1800cddc6
inc dword [rsi + 0x58]
mov ebx, dword [rsi + 0x58]
jmp 0x1800cddd2
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov ebx, dword [rsi + rax*4 + 0x28]
test dword [r13], 0x300000
je 0x1800cde15
mov r9d, edi
mov edi, dword [rsp + 0x5c]
mov edx, 0x1c
mov rcx, r14
mov r8d, edi
mov dword [rsp + 0x20], ebx
call fcn.1800848c0
mov r9d, dword [rsp + 0x80]
mov r8d, ebx
mov edx, 0x49
mov rcx, r14
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
jmp 0x1800cde19
mov edi, dword [rsp + 0x5c]
mov edx, ebx
mov rcx, rsi
call fcn.18009aa80
mov rdx, r15
mov rcx, r13
call fcn.1800cccb0
mov rdx, r12
mov rcx, r13
call fcn.1800cccb0
cmp dword [rsp + 0x38], ebp
jne 0x1800cdea7
movzx eax, byte [rsi + 0x25]
test al, al
jne 0x1800cde50
inc dword [rsi + 0x58]
mov r15d, dword [rsi + 0x58]
jmp 0x1800cde5d
dec al
movzx eax, al
mov byte [rsi + 0x25], al
mov r15d, dword [rsi + rax*4 + 0x28]
mov r9d, r15d
mov r8d, edi
mov edx, 0x48
mov rcx, r14
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov r12d, dword [rsp + 0xf8]
mov r9d, r15d
or r8d, 0xffffffff
mov rcx, rsi
mov edx, r12d
call fcn.180097d00
mov r9d, r15d
mov r8d, r12d
mov edx, 0x30
mov rcx, r14
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
jmp 0x1800cdeb2
mov r12d, dword [rsp + 0xf8]
mov r15d, ebp
cmp dword [rsp + 0x30], ebp
mov dword [r13 + 0x30], edi
sete al
add al, 0x42
mov byte [r13 + 0x2d], al
jmp 0x1800ce230
bt ecx, 0x1c
jae 0x1800ce1e7
inc dword [rsi + 0x58]
mov r12d, dword [rsi + 0x58]
mov rcx, r14
mov dword [rsp + 0x44], ebp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x68], r12d
call fcn.180084a00
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x58], eax
mov rax, qword [r13 + 8]
mov rbx, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf0]
mov byte [r13 + 0x2d], 3
mov dword [r13 + 0x30], r12d
mov r12d, dword [rax + 0x24]
cmp r12d, 1
mov qword [rsp + 0x60], rbx
jle 0x1800cdfd2
mov rcx, qword [rsi]
sub r12d, edi
dec r12d
mov edx, r12d
imul edx, edx, 0x58
add edx, 0x60
call fcn.180064880
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1800cdf5b
mov rax, qword [rsp + 0x108]
jmp 0x1800ce419
lea eax, [r12 + 1]
lea rcx, [rdi + 8]
mov rdx, r15
mov r8d, 0x58
mov word [rdi + 2], ax
mov word [rdi], ax
call sub.MSVCR90.dll_memcpy
mov r15, qword [rsp + 0xf0]
mov r15, qword [r15 + 0x10]
add r15, 8
cmp r12d, 1
jl 0x1800cdfdd
lea rbx, [rdi + 0x60]
lea rdi, [r13 + 0x7c]
nop word [rax + rax]
movzx edx, byte [rdi]
mov rcx, rbx
mov r8d, 0x58
imul rdx, rdx, 0x58
add rdx, r15
call sub.MSVCR90.dll_memcpy
add rdi, 0x50
add rbx, 0x58
sub r12, 1
jne 0x1800cdfa0
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x48]
jmp 0x1800cdfe0
mov r15, qword [rax + 0x10]
mov qword [rsp + 0x48], r15
jmp 0x1800cdfe0
mov r15, rdi
and word [rsp + 0x100], 8
jne 0x1800ce014
mov eax, dword [rsi + 0x58]
xor r8d, r8d
mov dword [rsp + 0x20], ebp
inc eax
lea edx, [r8 + 0xa]
lea ecx, [rax + 1]
mov r9d, eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x38], ecx
mov dword [rsi + 0x58], ecx
mov rcx, r14
call fcn.1800848c0
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 7]
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
cmp dword [rbx + 0x1c], ebp
mov r12d, ebp
mov dword [rsp + 0x5c], eax
jle 0x1800ce15a
mov r13, qword [rsp + 0x60]
mov eax, dword [rsp + 0xf8]
mov rdi, rbp
mov ecx, 0x200
mov edx, 0xf0
mov r8, qword [r13 + 0x28]
cmp dword [rdi + r8 + 0xc], eax
je 0x1800ce06c
cmp word [rdi + r8 + 0x18], cx
jne 0x1800ce13b
mov r8, qword [rdi + r8]
mov word [rsp + 0x20], dx
xor r9d, r9d
mov rdx, r15
mov rcx, rsi
call fcn.1800ce4f0
mov r15, rax
test rax, rax
je 0x1800ce12a
cmp word [rsp + 0x100], bp
jne 0x1800ce0f3
mov ecx, dword [r13 + 0x1c]
mov r9d, dword [rsp + 0xf8]
mov eax, 0xffffffff
dec ecx
mov r8d, eax
mov ebx, r12d
cmp r12d, ecx
mov ecx, dword [rsp + 0x38]
cmove ebx, eax
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0x20], ecx
mov rdx, qword [rax + 0x18]
mov rcx, rsi
call fcn.180097e40
mov r9d, dword [r14 + 0x18]
mov r8d, dword [rsp + 0x44]
add r9d, 2
mov edx, 0x6b
mov rcx, r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.180084960
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x68]
mov edx, 2
mov rcx, r14
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov eax, dword [rsp + 0x3c]
cmp byte [r15 + 0xb], bpl
mov ecx, 1
cmovne eax, ecx
mov rcx, r15
mov dword [rsp + 0x3c], eax
call fcn.1800cf3c0
mov eax, dword [rsp + 0xf8]
mov edx, 0xf0
mov ecx, 0x200
mov r15, qword [rsp + 0x48]
inc r12d
add rdi, 0x38
cmp r12d, dword [r13 + 0x1c]
jl 0x1800ce055
mov r13, qword [rsp + 0x50]
mov eax, dword [rsp + 0x5c]
mov edx, dword [r14 + 0x18]
cmp edx, eax
jle 0x1800ce170
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x20]
mov dword [rax + rcx*8 + 4], edx
mov r9d, dword [r13 + 0x1c]
mov ebx, 1
xor r8d, r8d
mov rcx, r14
mov edx, ebx
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov r11, qword [r14 + 0x30]
test r11, r11
je 0x1800ce1aa
movsxd rax, dword [rsp + 0x58]
lea rax, [rax*4 + 4]
sub r11, rax
mov eax, dword [r14 + 0x18]
mov dword [r11], eax
mov rax, qword [rsp + 0xf0]
cmp dword [rax + 0x24], ebx
jle 0x1800ce1c4
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsi]
call fcn.1800645a0
cmp dword [rsp + 0x3c], ebp
jne 0x1800ce1da
mov rdx, qword [rsp + 0x88]
mov rcx, r13
call fcn.1800cccb0
mov r12d, dword [rsp + 0xf8]
mov r15d, ebp
jmp 0x1800ce235
mov r9d, dword [rsp + 0x34]
lea rdx, [0x180000000]
movsxd rcx, ebx
movzx eax, byte [rcx + rdx + 0x12c16c]
mov dword [r13 + 0x30], r12d
mov r8d, r12d
mov byte [r13 + 0x2d], al
movzx edx, byte [rcx + rdx + 0x12c17c]
mov rcx, r14
mov dword [rsp + 0x20], ebp
call fcn.1800848c0
mov byte [r13 + 0x2e], 1
inc eax
mov dword [r13 + 0x34], eax
jmp 0x1800ce22d
mov r12d, eax
mov r15d, ebp
mov ebx, 1
mov r8, qword [rsp + 0x78]
mov ecx, ebp
mov rax, qword [r8 + 8]
mov edx, dword [rax]
test edx, edx
jle 0x1800ce25f
add rax, 4
nop word [rax + rax]
cmp dword [rax], r12d
je 0x1800ce2a3
inc ecx
add rax, 4
cmp ecx, edx
jl 0x1800ce250
mov rax, rbp
mov r12, qword [rsp + 0x108]
mov edi, dword [r8 + 0x1c]
mov rbx, qword [r8 + 0x28]
not rax
and r12, rax
test edi, edi
jle 0x1800ce2e4
mov r14, qword [rsp + 0xf0]
mov ebp, dword [rsp + 0x80]
nop dword [rax + rax]
test byte [rbx + 0x1a], 6
jne 0x1800ce2d0
test qword [rbx + 0x30], r12
je 0x1800ce2ab
mov byte [r14 + 0xb], 1
jmp 0x1800ce2d0
mov rax, rbx
shl rax, cl
jmp 0x1800ce262
cmp dword [r13 + 0x10], 0
mov rdx, qword [rbx]
je 0x1800ce2bb
test byte [rdx + 2], 1
je 0x1800ce2d0
mov r9d, 8
mov r8d, ebp
mov rcx, rsi
call fcn.180099fd0
or byte [rbx + 0x1a], 4
dec edi
add rbx, 0x38
test edi, edi
jg 0x1800ce290
mov r14, qword [rsp + 0x90]
xor ebp, ebp
cmp dword [r13 + 0x10], 0
je 0x1800ce3e2
mov eax, dword [r14 + 0x18]
mov edi, dword [r13 + 0x10]
mov dword [r13 + 0x28], eax
movsxd rbx, dword [r14 + 0x18]
cmp dword [r14 + 0x1c], ebx
jg 0x1800ce311
mov rcx, r14
call fcn.180084820
test eax, eax
jne 0x1800ce348
mov rax, qword [r14 + 0x20]
inc dword [r14 + 0x18]
lea rcx, [rbx + rbx*2]
mov byte [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov byte [rax + rcx*8 + 1], 0
mov byte [r14 + 0xa2], 0
lea rcx, [rsi + 0x80]
mov eax, 0xa
mov edx, dword [rcx]
test edx, edx
je 0x1800ce380
cmp byte [rcx - 8], 0
je 0x1800ce376
movzx eax, byte [rsi + 0x25]
cmp al, 8
jae 0x1800ce372
movzx eax, al
mov dword [rsi + rax*4 + 0x28], edx
inc byte [rsi + 0x25]
mov byte [rcx - 8], 0
mov rax, qword [rsp + 0x98]
mov dword [rcx], ebp
add rcx, 0x18
sub rax, 1
mov qword [rsp + 0x98], rax
jne 0x1800ce354
mov r13, qword [rsp + 0x78]
mov edi, ebp
cmp dword [r13 + 0x1c], 0
mov rbx, qword [r13 + 0x28]
jle 0x1800ce3e2
mov ebp, dword [rsp + 0x80]
nop dword [rax + rax]
test byte [rbx + 0x1a], 6
jne 0x1800ce3d4
test qword [rbx + 0x30], r12
jne 0x1800ce3d4
mov rdx, qword [rbx]
mov r9d, 8
mov r8d, ebp
mov rcx, rsi
call fcn.180099fd0
or byte [rbx + 0x1a], 4
inc edi
add rbx, 0x38
cmp edi, dword [r13 + 0x1c]
jl 0x1800ce3b0
xor ebp, ebp
test r15d, r15d
je 0x1800ce416
movzx ecx, byte [rsi + 0x25]
cmp cl, 8
jae 0x1800ce416
lea rax, [rsi + 0x70]
cmp dword [rax + 0x10], r15d
je 0x1800ce412
inc ebp
add rax, 0x18
cmp ebp, 0xa
jl 0x1800ce3f4
movzx eax, cl
mov dword [rsi + rax*4 + 0x28], r15d
inc byte [rsi + 0x25]
jmp 0x1800ce416
mov byte [rax + 8], 1
mov rax, r12
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret