Function at 0x18001a660
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x38
mov rax, qword [rcx + 0x40]
mov rbx, rcx
mov ecx, r8d
mov r15, rdx
shl rcx, 4
mov esi, r8d
mov r9, qword [rax]
add rcx, r9
mov edi, dword [rcx]
mov eax, edi
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x18001a6bc
nop word [rax + rax]
movzx esi, di
mov ecx, esi
shl rcx, 4
add rcx, r9
mov edi, dword [rcx]
mov eax, edi
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x18001a6a0
mov r12d, dword [rcx + 4]
mov eax, edi
and eax, 0xfe000000
cmp eax, 0x2000000
jne 0x18001acee
cmp r12d, 4
ja 0x18001acee
cmp dword [rbx + 4], 0x3d
mov rcx, rbx
jne 0x18001acfc
call fcn.18001e610
inc dword [rbx + 0x5c]
mov rcx, rbx
cmp dword [rbx + 0x5c], 0x14
jg 0x18001ad07
mov qword [rsp + 0x78], r13
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x30], r14
call fcn.18001e080
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.18001de70
dec dword [rbx + 0x5c]
xor r13d, r13d
mov qword [rbp + 0x50], r13
lea r14d, [r13 + 4]
nop dword [rax + rax]
mov eax, dword [rbx + 4]
cmp eax, 0x3f
jne 0x18001a794
mov rcx, rbx
call fcn.18001e610
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbx + 4]
cmp eax, 0x2c
je 0x18001a738
mov rcx, rbx
cmp eax, 0x3a
jne 0x18001ad12
call fcn.18001e610
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x38], r13d
mov ecx, dword [rbp - 0x14]
mov eax, dword [rbp - 0x18]
cmovne eax, dword [rbp + 0x50]
cmp dword [rbp + 0x54], ecx
mov dword [rbp + 0x38], eax
cmova ecx, dword [rbp + 0x54]
mov dword [rbp + 0x3c], ecx
jmp 0x18001a730
cmp eax, 0x104
jne 0x18001a7d1
mov rcx, rbx
call fcn.18001e610
mov r8d, 2
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x38], r13d
jne 0x18001a7fe
cmp dword [rbp + 0x50], r13d
jne 0x18001a7fe
mov dword [rbp + 0x38], r13d
mov dword [rbp + 0x3c], 9
jmp 0x18001a730
cmp eax, 0x105
jne 0x18001a811
mov rcx, rbx
call fcn.18001e610
mov r8d, 3
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x38], r13d
je 0x18001a7c1
cmp dword [rbp + 0x50], r13d
je 0x18001a7c1
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x3c], 9
jmp 0x18001a730
cmp eax, 0x7c
jne 0x18001a838
mov rcx, rbx
call fcn.18001e610
mov r8d, r14d
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbp + 0x50]
or dword [rbp + 0x38], eax
jmp 0x18001ab7f
cmp eax, 0x5e
jne 0x18001a862
mov rcx, rbx
call fcn.18001e610
mov r8d, 5
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbp + 0x50]
xor dword [rbp + 0x38], eax
jmp 0x18001ab7f
cmp eax, 0x26
jne 0x18001a88c
mov rcx, rbx
call fcn.18001e610
mov r8d, 6
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbp + 0x50]
and dword [rbp + 0x38], eax
jmp 0x18001ab7f
cmp eax, 0x106
jne 0x18001a8c8
mov rcx, rbx
call fcn.18001e610
mov r8d, 7
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
sete cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
cmp eax, 0x107
jne 0x18001a904
mov rcx, rbx
call fcn.18001e610
mov r8d, 7
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setne cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
cmp eax, 0x3c
jne 0x18001a965
mov rcx, rbx
call fcn.18001e610
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x3c], 9
jne 0x18001a94a
cmp dword [rbp + 0x54], 9
jne 0x18001a94a
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setl cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setb cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
cmp eax, 0x3e
jne 0x18001a9c6
mov rcx, rbx
call fcn.18001e610
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x3c], 9
jne 0x18001a9ab
cmp dword [rbp + 0x54], 9
jne 0x18001a9ab
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setg cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
seta cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
cmp eax, 0x108
jne 0x18001aa29
mov rcx, rbx
call fcn.18001e610
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x3c], 9
jne 0x18001aa0e
cmp dword [rbp + 0x54], 9
jne 0x18001aa0e
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setle cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setbe cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
cmp eax, 0x109
jne 0x18001aa8c
mov rcx, rbx
call fcn.18001e610
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x3c], 9
jne 0x18001aa71
cmp dword [rbp + 0x54], 9
jne 0x18001aa71
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setge cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
mov eax, dword [rbp + 0x50]
mov ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setae cl
mov dword [rbp + 0x38], ecx
jmp 0x18001a730
cmp eax, 0x10a
jne 0x18001aab8
mov rcx, rbx
call fcn.18001e610
mov r8d, 9
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov ecx, dword [rbp + 0x50]
shl dword [rbp + 0x38], cl
jmp 0x18001a730
cmp eax, 0x10b
jne 0x18001aaf2
mov rcx, rbx
call fcn.18001e610
mov r8d, 9
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
cmp dword [rbp + 0x3c], 9
mov ecx, dword [rbp + 0x50]
jne 0x18001aaea
sar dword [rbp + 0x38], cl
jmp 0x18001a730
shr dword [rbp + 0x38], cl
jmp 0x18001a730
cmp eax, 0x2b
jne 0x18001ab19
mov rcx, rbx
call fcn.18001e610
mov r8d, 0xa
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbp + 0x50]
add dword [rbp + 0x38], eax
jmp 0x18001ab7f
cmp eax, 0x2d
jne 0x18001ab40
mov rcx, rbx
call fcn.18001e610
mov r8d, 0xa
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e4b0
mov eax, dword [rbp + 0x50]
sub dword [rbp + 0x38], eax
jmp 0x18001ab7f
cmp eax, 0x2a
jne 0x18001ab93
mov rcx, rbx
call fcn.18001e610
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x18001ad2b
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e080
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001de70
mov eax, dword [rbp + 0x38]
dec dword [rbx + 0x5c]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x54]
cmp eax, dword [rbp + 0x3c]
jbe 0x18001a730
mov dword [rbp + 0x3c], eax
jmp 0x18001a730
cmp eax, 0x2f
jne 0x18001ac14
mov rcx, rbx
call fcn.18001e610
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x18001ad2b
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e080
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001de70
mov ecx, dword [rbp + 0x3c]
dec dword [rbx + 0x5c]
cmp dword [rbp + 0x54], ecx
mov r8d, dword [rbp + 0x50]
cmova ecx, dword [rbp + 0x54]
mov dword [rbp + 0x3c], ecx
test r8d, r8d
je 0x18001ad1d
mov eax, dword [rbp + 0x38]
cmp ecx, 9
jne 0x18001ac07
cmp eax, 0x80000000
jne 0x18001abfb
cmp r8d, 0xffffffff
je 0x18001ad1d
cdq
idiv r8d
mov dword [rbp + 0x38], eax
jmp 0x18001a730
xor edx, edx
div r8d
mov dword [rbp + 0x38], eax
jmp 0x18001a730
cmp eax, 0x25
jne 0x18001ac95
mov rcx, rbx
call fcn.18001e610
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x18001ad2b
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001e080
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.18001de70
mov ecx, dword [rbp + 0x3c]
dec dword [rbx + 0x5c]
cmp dword [rbp + 0x54], ecx
mov r8d, dword [rbp + 0x50]
cmova ecx, dword [rbp + 0x54]
mov dword [rbp + 0x3c], ecx
test r8d, r8d
je 0x18001ad1d
mov eax, dword [rbp + 0x38]
cmp ecx, 9
jne 0x18001ac88
cmp eax, 0x80000000
jne 0x18001ac7c
cmp r8d, 0xffffffff
je 0x18001ad1d
cdq
idiv r8d
mov dword [rbp + 0x38], edx
jmp 0x18001a730
xor edx, edx
div r8d
mov dword [rbp + 0x38], edx
jmp 0x18001a730
mov rcx, qword [rbx + 0x40]
mov rdx, r15
call fcn.180026890
mov rcx, qword [r15]
bts esi, 0x19
sub r14d, r12d
sub esi, 0x50000000
shl r14d, 3
mov r8d, eax
mov dword [rcx], esi
mov ecx, r14d
mov edx, dword [rbp + 0x38]
shl edx, cl
bt edi, 0x17
jae 0x18001accc
shr edx, cl
jmp 0x18001acce
sar edx, cl
mov rax, qword [r15]
mov r13, qword [rsp + 0x78]
mov r14, qword [rsp + 0x30]
mov dword [rax + 4], edx
mov eax, r8d
add rsp, 0x38
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edx, 0xbf7
mov rcx, rbx
call fcn.18001ce80
int3
mov edx, 0x3d
call fcn.18001ced0
int3
mov edx, 0x8d7
call fcn.18001ce80
int3
mov edx, 0x3a
call fcn.18001ced0
int3
mov edx, 0x219
mov rcx, rbx
call fcn.18001ce80
int3
mov edx, 0x8d7
mov rcx, rbx
call fcn.18001ce80
int3