Function at 0x140050580
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 0x1400505dc
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 0x1400505c0
mov r12d, dword [rcx + 4]
mov eax, edi
and eax, 0xfe000000
cmp eax, 0x2000000
jne 0x140050c0e
cmp r12d, 4
ja 0x140050c0e
cmp dword [rbx + 4], 0x3d
mov rcx, rbx
jne 0x140050c1c
call fcn.140054530
inc dword [rbx + 0x5c]
mov rcx, rbx
cmp dword [rbx + 0x5c], 0x14
jg 0x140050c27
mov qword [rsp + 0x78], r13
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x30], r14
call fcn.140053fa0
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140053d90
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 0x1400506b4
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 0x140050658
mov rcx, rbx
cmp eax, 0x3a
jne 0x140050c32
call fcn.140054530
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.1400543d0
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 0x140050650
cmp eax, 0x104
jne 0x1400506f1
mov rcx, rbx
call fcn.140054530
mov r8d, 2
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x38], r13d
jne 0x14005071e
cmp dword [rbp + 0x50], r13d
jne 0x14005071e
mov dword [rbp + 0x38], r13d
mov dword [rbp + 0x3c], 9
jmp 0x140050650
cmp eax, 0x105
jne 0x140050731
mov rcx, rbx
call fcn.140054530
mov r8d, 3
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x38], r13d
je 0x1400506e1
cmp dword [rbp + 0x50], r13d
je 0x1400506e1
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x3c], 9
jmp 0x140050650
cmp eax, 0x7c
jne 0x140050758
mov rcx, rbx
call fcn.140054530
mov r8d, r14d
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x50]
or dword [rbp + 0x38], eax
jmp 0x140050a9f
cmp eax, 0x5e
jne 0x140050782
mov rcx, rbx
call fcn.140054530
mov r8d, 5
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x50]
xor dword [rbp + 0x38], eax
jmp 0x140050a9f
cmp eax, 0x26
jne 0x1400507ac
mov rcx, rbx
call fcn.140054530
mov r8d, 6
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x50]
and dword [rbp + 0x38], eax
jmp 0x140050a9f
cmp eax, 0x106
jne 0x1400507e8
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 ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
sete cl
mov dword [rbp + 0x38], ecx
jmp 0x140050650
cmp eax, 0x107
jne 0x140050824
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 ecx, r13d
cmp dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], 9
setne cl
mov dword [rbp + 0x38], ecx
jmp 0x140050650
cmp eax, 0x3c
jne 0x140050885
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x3c], 9
jne 0x14005086a
cmp dword [rbp + 0x54], 9
jne 0x14005086a
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 0x140050650
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 0x140050650
cmp eax, 0x3e
jne 0x1400508e6
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x3c], 9
jne 0x1400508cb
cmp dword [rbp + 0x54], 9
jne 0x1400508cb
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 0x140050650
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 0x140050650
cmp eax, 0x108
jne 0x140050949
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x3c], 9
jne 0x14005092e
cmp dword [rbp + 0x54], 9
jne 0x14005092e
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 0x140050650
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 0x140050650
cmp eax, 0x109
jne 0x1400509ac
mov rcx, rbx
call fcn.140054530
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x3c], 9
jne 0x140050991
cmp dword [rbp + 0x54], 9
jne 0x140050991
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 0x140050650
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 0x140050650
cmp eax, 0x10a
jne 0x1400509d8
mov rcx, rbx
call fcn.140054530
mov r8d, 9
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov ecx, dword [rbp + 0x50]
shl dword [rbp + 0x38], cl
jmp 0x140050650
cmp eax, 0x10b
jne 0x140050a12
mov rcx, rbx
call fcn.140054530
mov r8d, 9
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
cmp dword [rbp + 0x3c], 9
mov ecx, dword [rbp + 0x50]
jne 0x140050a0a
sar dword [rbp + 0x38], cl
jmp 0x140050650
shr dword [rbp + 0x38], cl
jmp 0x140050650
cmp eax, 0x2b
jne 0x140050a39
mov rcx, rbx
call fcn.140054530
mov r8d, 0xa
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x50]
add dword [rbp + 0x38], eax
jmp 0x140050a9f
cmp eax, 0x2d
jne 0x140050a60
mov rcx, rbx
call fcn.140054530
mov r8d, 0xa
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1400543d0
mov eax, dword [rbp + 0x50]
sub dword [rbp + 0x38], eax
jmp 0x140050a9f
cmp eax, 0x2a
jne 0x140050ab3
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140050c4b
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053d90
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 0x140050650
mov dword [rbp + 0x3c], eax
jmp 0x140050650
cmp eax, 0x2f
jne 0x140050b34
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140050c4b
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053d90
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 0x140050c3d
mov eax, dword [rbp + 0x38]
cmp ecx, 9
jne 0x140050b27
cmp eax, 0x80000000
jne 0x140050b1b
cmp r8d, 0xffffffff
je 0x140050c3d
cdq
idiv r8d
mov dword [rbp + 0x38], eax
jmp 0x140050650
xor edx, edx
div r8d
mov dword [rbp + 0x38], eax
jmp 0x140050650
cmp eax, 0x25
jne 0x140050bb5
mov rcx, rbx
call fcn.140054530
inc dword [rbx + 0x5c]
cmp dword [rbx + 0x5c], 0x14
jg 0x140050c4b
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053fa0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140053d90
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 0x140050c3d
mov eax, dword [rbp + 0x38]
cmp ecx, 9
jne 0x140050ba8
cmp eax, 0x80000000
jne 0x140050b9c
cmp r8d, 0xffffffff
je 0x140050c3d
cdq
idiv r8d
mov dword [rbp + 0x38], edx
jmp 0x140050650
xor edx, edx
div r8d
mov dword [rbp + 0x38], edx
jmp 0x140050650
mov rcx, qword [rbx + 0x40]
mov rdx, r15
call fcn.140017eb0
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 0x140050bec
shr edx, cl
jmp 0x140050bee
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.140052da0
int3
mov edx, 0x3d
call fcn.140052df0
int3
mov edx, 0x8d7
call fcn.140052da0
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