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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r8d, 0x50000001
mov rbx, rcx
call fcn.140055830
cmp dword [rbx + 4], 0x7b
mov edi, 0x5002000a
mov r14d, eax
jne 0x140051400
mov rcx, rbx
call fcn.140054530
mov rsi, qword [rbx + 0x10]
xor r12d, r12d
cmp dword [rbx + 4], 0x100
mov r15d, r14d
mov dword [rbp + 0x40], r12d
mov dword [rbp + 0x44], 9
jne 0x14005142a
lea r13d, [r12 + 0xa]
nop word [rax + rax]
mov rcx, rbx
cmp dword [rbx + 0xc], r12d
jne 0x140051418
call fcn.140054530
cmp dword [rbx + 4], 0x3d
jne 0x140051332
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
mov rcx, rbx
cmp dword [rbx + 0x5c], 0x14
jg 0x14005146d
lea rdx, [rbp + 0x40]
call fcn.140053fa0
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.140053d90
dec dword [rbx + 0x5c]
mov edx, dword [rbp + 0x40]
mov qword [rbp + 0x50], r12
mov r8d, dword [rbp + 0x44]
mov eax, dword [rbx + 4]
cmp eax, 0x3f
jne 0x140050d8f
mov rcx, rbx
call fcn.140054530
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbx + 4]
cmp eax, 0x2c
je 0x140050d2f
mov rcx, rbx
cmp eax, 0x3a
jne 0x140051438
call fcn.140054530
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x40], r12d
mov r8d, dword [rbp - 0xc]
mov edx, dword [rbp - 0x10]
cmovne edx, dword [rbp + 0x50]
cmp dword [rbp + 0x54], r8d
mov dword [rbp + 0x40], edx
cmova r8d, dword [rbp + 0x54]
mov dword [rbp + 0x44], r8d
jmp 0x140050d27
cmp eax, 0x104
jne 0x140050dd1
mov rcx, rbx
call fcn.140054530
mov r8d, 2
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x40], r12d
jne 0x140050dfe
cmp dword [rbp + 0x50], r12d
jne 0x140050dfe
mov edx, r12d
mov r8d, 9
mov dword [rbp + 0x40], edx
mov dword [rbp + 0x44], r8d
jmp 0x140050d27
cmp eax, 0x105
jne 0x140050e15
mov rcx, rbx
call fcn.140054530
mov r8d, 3
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x40], r12d
je 0x140050dbc
cmp dword [rbp + 0x50], r12d
je 0x140050dbc
mov edx, 1
mov r8d, 9
mov dword [rbp + 0x40], edx
mov dword [rbp + 0x44], r8d
jmp 0x140050d27
cmp eax, 0x7c
jne 0x140050e3f
mov rcx, rbx
call fcn.140054530
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov edx, dword [rbp + 0x40]
or edx, dword [rbp + 0x50]
jmp 0x1400511ab
cmp eax, 0x5e
jne 0x140050e69
mov rcx, rbx
call fcn.140054530
mov r8d, 5
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov edx, dword [rbp + 0x40]
xor edx, dword [rbp + 0x50]
jmp 0x1400511ab
cmp eax, 0x26
jne 0x140050e93
mov rcx, rbx
call fcn.140054530
mov r8d, 6
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov edx, dword [rbp + 0x40]
and edx, dword [rbp + 0x50]
jmp 0x1400511ab
cmp eax, 0x106
jne 0x140050ed2
mov rcx, rbx
call fcn.140054530
mov r8d, 7
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
sete dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
cmp eax, 0x107
jne 0x140050f11
mov rcx, rbx
call fcn.140054530
mov r8d, 7
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setne dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
cmp eax, 0x3c
jne 0x140050f78
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x44], 9
jne 0x140050f5a
cmp dword [rbp + 0x54], 9
jne 0x140050f5a
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setl dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setb dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
cmp eax, 0x3e
jne 0x140050fdf
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x44], 9
jne 0x140050fc1
cmp dword [rbp + 0x54], 9
jne 0x140050fc1
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setg dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
seta dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
cmp eax, 0x108
jne 0x140051048
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x44], 9
jne 0x14005102a
cmp dword [rbp + 0x54], 9
jne 0x14005102a
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setle dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setbe dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
cmp eax, 0x109
jne 0x1400510b1
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x44], 9
jne 0x140051093
cmp dword [rbp + 0x54], 9
jne 0x140051093
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setge dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
mov eax, dword [rbp + 0x50]
mov edx, r12d
cmp dword [rbp + 0x40], eax
mov r8d, 9
mov dword [rbp + 0x44], r8d
setae dl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
cmp eax, 0x10a
jne 0x1400510e2
mov rcx, rbx
call fcn.140054530
mov r8d, 9
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov edx, dword [rbp + 0x40]
mov ecx, dword [rbp + 0x50]
shl edx, cl
mov dword [rbp + 0x40], edx
jmp 0x140050d23
cmp eax, 0x10b
jne 0x140051127
mov rcx, rbx
call fcn.140054530
mov r8d, 9
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov r8d, dword [rbp + 0x44]
mov ecx, dword [rbp + 0x50]
mov edx, dword [rbp + 0x40]
cmp r8d, 9
jne 0x14005111d
sar edx, cl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
shr edx, cl
mov dword [rbp + 0x40], edx
jmp 0x140050d27
cmp eax, 0x2b
jne 0x14005114b
mov rcx, rbx
call fcn.140054530
mov r8d, r13d
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov edx, dword [rbp + 0x40]
add edx, dword [rbp + 0x50]
jmp 0x1400511ab
cmp eax, 0x2d
jne 0x14005116f
mov rcx, rbx
call fcn.140054530
mov r8d, r13d
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov edx, dword [rbp + 0x40]
sub edx, dword [rbp + 0x50]
jmp 0x1400511ab
cmp eax, 0x2a
jne 0x1400511c9
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140051451
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053d90
mov edx, dword [rbp + 0x40]
dec dword [rbx + 0x5c]
imul edx, dword [rbp + 0x50]
mov dword [rbp + 0x40], edx
mov eax, dword [rbp + 0x54]
mov r8d, dword [rbp + 0x44]
cmp eax, r8d
jbe 0x140050d27
mov r8d, eax
mov dword [rbp + 0x44], eax
jmp 0x140050d27
cmp eax, 0x2f
jne 0x140051252
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140051451
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053d90
mov r8d, dword [rbp + 0x44]
dec dword [rbx + 0x5c]
cmp dword [rbp + 0x54], r8d
mov ecx, dword [rbp + 0x50]
cmova r8d, dword [rbp + 0x54]
mov dword [rbp + 0x44], r8d
test ecx, ecx
je 0x140051443
mov eax, dword [rbp + 0x40]
cmp r8d, 9
jne 0x140051244
cmp eax, 0x80000000
jne 0x140051237
cmp ecx, 0xffffffff
je 0x140051443
cdq
idiv ecx
mov edx, eax
mov dword [rbp + 0x40], eax
jmp 0x140050d27
xor edx, edx
div ecx
mov edx, eax
mov dword [rbp + 0x40], eax
jmp 0x140050d27
cmp eax, 0x25
jne 0x1400512d3
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140051451
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053d90
mov r8d, dword [rbp + 0x44]
dec dword [rbx + 0x5c]
cmp dword [rbp + 0x54], r8d
mov ecx, dword [rbp + 0x50]
cmova r8d, dword [rbp + 0x54]
mov dword [rbp + 0x44], r8d
test ecx, ecx
je 0x140051443
mov eax, dword [rbp + 0x40]
cmp r8d, 9
jne 0x1400512c7
cmp eax, 0x80000000
jne 0x1400512bc
cmp ecx, 0xffffffff
je 0x140051443
cdq
idiv ecx
mov dword [rbp + 0x40], edx
jmp 0x140050d27
xor edx, edx
div ecx
mov dword [rbp + 0x40], edx
jmp 0x140050d27
mov rax, qword [rbx + 0x40]
mov r9, qword [rax]
mov eax, r8d
add rax, rax
mov ecx, dword [r9 + rax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x14005130a
movzx ecx, cx
add rcx, rcx
mov ecx, dword [r9 + rcx*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x1400512f2
test ecx, 0xfc000000
jne 0x14005145f
cmp r8d, r13d
jne 0x140051321
test edx, edx
js 0x140051332
jmp 0x14005132b
test edx, edx
mov eax, 0x50020009
cmovs edi, eax
mov dword [rbp + 0x44], 9
mov rcx, qword [rbx + 0x40]
lea rdx, [rbp + 0x58]
call fcn.140017eb0
mov rcx, qword [rbx + 0x40]
mov r9d, eax
mov r8d, r15d
mov r15d, eax
add r8, r8
mov rdx, qword [rcx]
mov word [rdx + r8*8 + 8], r9w
mov r8d, r15d
or byte [rsi + 4], 0x20
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 0xc], esi
mov ecx, dword [rbp + 0x44]
mov rax, qword [rbp + 0x58]
bts ecx, 0x19
sub ecx, 0x50000000
mov dword [rax], ecx
mov ecx, dword [rbp + 0x40]
mov rax, qword [rbp + 0x58]
mov dword [rax + 4], ecx
mov ecx, dword [rbp + 0x40]
mov eax, dword [rbp + 0x44]
inc ecx
mov rdx, qword [rbp + 0x58]
cmp ecx, 0x80000000
mov dword [rbp + 0x40], ecx
mov rcx, qword [rbx + 0x40]
cmove eax, r13d
mov dword [rbp + 0x44], eax
call fcn.140017830
mov eax, dword [rbx + 4]
cmp eax, 0x2c
jne 0x1400513d0
mov rcx, rbx
call fcn.140054530
mov eax, dword [rbx + 4]
cmp eax, 0x7d
je 0x1400513d9
mov rsi, qword [rbx + 0x10]
cmp eax, 0x100
jne 0x14005142a
jmp 0x140050cd0
cmp eax, 0x7d
jne 0x140051478
mov rcx, rbx
call fcn.140054530
mov rax, qword [rbx + 0x40]
mov rdx, r14
add rdx, rdx
mov rcx, qword [rax]
mov dword [rcx + rdx*8], edi
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
mov dword [rcx + rdx*8 + 4], 4
mov rbx, qword [rsp + 0x78]
mov eax, r14d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [rsi + 0x10]
xor edx, edx
mov r8d, 0xc7e
call fcn.140052e20
int3
mov edx, 0x100
mov rcx, rbx
call fcn.140052df0
int3
mov edx, 0x3a
call fcn.140052df0
int3
mov edx, 0x219
mov rcx, rbx
call fcn.140052da0
int3
mov edx, 0x8d7
mov rcx, rbx
call fcn.140052da0
int3
mov edx, 0x219
mov rcx, rbx
call fcn.140052da0
int3
mov edx, 0x8d7
call fcn.140052da0
int3
mov edx, 0x7d
mov rcx, rbx
call fcn.140052df0
int3