Function at 0x59b9fa
Capabilities:
Encode data using base64
Encrypt data using speck
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rcx + 0x10]
call fcn.00596a8d
cmp eax, 0x5e
jne 0x59a331
mov rcx, rdi
call fcn.005969fa
mov rcx, rsi
call fcn.00595776
jmp 0x59a339
mov rcx, rsi
call fcn.0059585a
movabs rbx, 0x8a40a8cbc8c10931
movabs r12, 0xfc3fc0000
xor ecx, ecx
call fcn.0054b81d
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
lea r13, [rsi + 0x48]
lea rax, [rsi + 0x40]
mov qword [rsp + 0xc8], rax
mov r15, qword [0x02129700]
xorps xmm6, xmm6
not r12
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi + 8]
test rax, rax
je 0x59a38c
mov rcx, qword [rax]
jmp 0x59a38e
xor ecx, ecx
mov rbp, qword [rdi + 0x10]
cmp rbp, rcx
jge 0x59a8a4
lea rcx, [rbp + 1]
mov qword [rdi + 0x10], rcx
test rbp, rbp
js 0x59a3b4
test rax, rax
je 0x59a3be
cmp rbp, qword [rax]
jge 0x59a3b9
jmp 0x59a3cf
test rax, rax
je 0x59a3be
mov rdx, qword [rax]
jmp 0x59a3c0
xor edx, edx
dec rdx
mov rcx, rbp
call fcn.005482d0
mov rax, qword [rdi + 8]
mov ebp, dword [rax + rbp*4 + 0x10]
cmp ebp, 0x5c
jge 0x59a4a1
cmp ebp, 0x2d
je 0x59a4fb
cmp ebp, 0x5b
jne 0x59a6af
mov rcx, rdi
call fcn.00596a8d
mov ebp, eax
lea rcx, [0x00624fc0]
call fcn.0059535a
mov ecx, ebp
mov edx, eax
call fcn.0055459a
test al, al
je 0x59a6d4
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov rcx, rdi
lea rbp, [rsp + 0x40]
mov rdx, rbp
call fcn.005996fa
mov rcx, qword [r13]
lea rdx, [0x02155ba0]
call fcn.00547b0d
mov rcx, r13
mov rdx, rax
call fcn.00547ea1
mov rax, qword [r13]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
shl rcx, 7
add rcx, rax
add rcx, 0x10
mov rdx, rbp
mov r8, qword [0x021295a0]
call fcn.00549e64
jmp 0x59a37e
je 0x59a5c2
cmp ebp, 0x5d
jne 0x59a6af
mov rcx, rsi
call fcn.0059593e
mov bpl, 1
test al, al
je 0x59a8a6
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x59a4d7
cmp qword [rcx], 0
jg 0x59a8a6
mov rdx, r15
call fcn.00547b0d
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov dword [rax + rcx*4 + 0x10], 0x5d
jmp 0x59a37e
mov rcx, rdi
call fcn.00596a6d
test al, al
jne 0x59a37e
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x59a726
cmp qword [rcx], 0
je 0x59a726
mov rcx, rdi
call fcn.00596a8d
cmp eax, 0x5d
jge 0x59a71f
cmp eax, 0x5c
jne 0x59a74a
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r14
mov rcx, rdi
call fcn.005969fa
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov rcx, rdi
lea rdx, [rsp + 0x40]
call fcn.0059969f
mov rbp, qword [rdi + 0x10]
dec rbp
jno 0x59a59e
call fcn.005463cd
cmp byte [rsp + 0x40], 0
sete cl
mov r9, qword [rdi]
lea rdx, [0x006253e8]
mov r8, rbp
call fcn.005979ad
mov r12d, dword [rsp + 0x44]
jmp 0x59a777
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov rcx, rdi
lea rdx, [rsp + 0x40]
call fcn.0059969f
mov cl, byte [rsp + 0x40]
test cl, cl
je 0x59a6fd
mov rax, 0xfffffffffffffffe
rol rax, cl
or rax, r12
mov rcx, rbx
not rcx
or rcx, rbx
not rax
test rax, rcx
jne 0x59a639
lea rcx, [0x00625390]
call fcn.0054208a
mov rcx, qword [r13]
lea rdx, [0x02155ba0]
call fcn.00547b0d
mov rcx, r13
mov rdx, rax
call fcn.00547ea1
mov rax, qword [r13]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
shl rcx, 7
add rcx, rax
add rcx, 0x10
lea rdx, [rsp + 0x40]
mov r8, qword [0x021295a0]
call fcn.00549e64
mov rcx, rdi
call fcn.00596a8d
mov ebp, eax
lea rcx, [0x006253d0]
call fcn.0059535a
mov ecx, ebp
mov edx, eax
call fcn.0055459a
test al, al
je 0x59a37e
mov rcx, rdi
call fcn.005969fa
mov ebp, eax
mov rcx, qword [rsp + 0x20]
mov rdx, r15
call fcn.00547b0d
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov dword [rax + rcx*4 + 0x10], ebp
jmp 0x59a37e
mov rcx, qword [rsp + 0x20]
mov rdx, r15
call fcn.00547b0d
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov dword [rax + rcx*4 + 0x10], 0x5b
jmp 0x59a37e
mov rcx, qword [rsp + 0x20]
mov rdx, r15
call fcn.00547b0d
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov ebp, dword [rsp + 0x44]
jmp 0x59a6cb
jne 0x59a74a
mov rcx, qword [rsp + 0x20]
mov rdx, r15
call fcn.00547b0d
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov dword [rax + rcx*4 + 0x10], 0x2d
jmp 0x59a37e
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r14
mov rcx, rdi
call fcn.00596a6d
test al, al
je 0x59a76c
lea rcx, [0x00625440]
call fcn.0054208a
mov rcx, rdi
call fcn.005969fa
mov r12d, eax
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x59a786
mov r14, qword [rcx]
jmp 0x59a789
xor r14d, r14d
dec r14
jno 0x59a798
call fcn.005463cd
mov rcx, qword [rsp + 0x20]
test r14, r14
js 0x59a7b1
test rcx, rcx
je 0x59a7be
mov rdx, qword [rcx]
cmp r14, rdx
jge 0x59a7b9
mov ebp, dword [rcx + r14*4 + 0x10]
jmp 0x59a7f5
test rcx, rcx
je 0x59a7be
mov rdx, qword [rcx]
dec rdx
jmp 0x59a7c5
mov rdx, 0xffffffffffffffff
mov rcx, r14
call fcn.005482d0
mov rcx, qword [rsp + 0x20]
mov ebp, dword [rcx + r14*4 + 0x10]
test r14, r14
jns 0x59a7f5
mov rcx, r14
xor edx, edx
movabs r8, 0x7fffffffffffffff
call fcn.00547f4d
mov rcx, qword [rsp + 0x20]
mov rdx, r15
mov r8, r14
call fcn.0054b246
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.00547ea1
mov ecx, ebp
mov edx, r12d
call fcn.00595354
mov r9, qword [rdi]
mov r8, qword [rdi + 0x10]
mov ecx, eax
lea rdx, [0x00625478]
call fcn.005979ad
shl r12, 0x20
mov ebp, ebp
or rbp, r12
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rsi]
mov rdx, qword [0x02129720]
call fcn.00547b0d
mov rcx, rsi
mov rdx, rax
call fcn.00547ea1
mov rax, qword [rsi]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, rdi
call fcn.00596a8d
mov ebp, eax
lea rcx, [0x006253d0]
call fcn.0059535a
mov ecx, ebp
mov edx, eax
call fcn.0055459a
test al, al
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x38]
je 0x59a37e
jmp 0x59a6a5
xor ebp, ebp
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x59a8bd
mov rdx, qword [rcx]
jmp 0x59a8bf
xor edx, edx
add rcx, 0x10
lea rsi, [rsp + 0x40]
mov r8, rsi
call fcn.0059406a
mov rcx, qword [rsp + 0x38]
add rcx, 0x30
movaps xmm0, xmmword [rsi]
lea rdx, [rsp + 0xd0]
movaps xmmword [rdx], xmm0
call fcn.00593f54
mov r9, qword [rdi]
lea rdx, [0x006254c0]
mov ecx, ebp
mov r8, r14
call fcn.005979ad
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rbp, rdx
mov rdi, rcx
call fcn.00596a8d
cmp eax, 0x2c
je 0x59aac7
mov rcx, rdi
call fcn.00596a8d
add eax, 0xffffffd0
cmp eax, 0xa
jb 0x59aac7
xor edi, edi
mov ebx, edi
mov byte [rbp], dil
mov dword [rbp + 4], edi
lea rcx, [rbp + 8]
mov esi, edi
mov rdx, rsi
call fcn.00547ea1
mov byte [rbp + 0x10], dil
mov dword [rbp + 0x12], edi
mov byte [rbp + 0x16], dil
lea rcx, [rbp + 0x18]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x20]
mov rdx, rsi
call fcn.00547ea1
mov dword [rbp + 0x28], edi
lea rcx, [rbp + 0x30]
mov rdx, rsi
call fcn.00547ea1
mov qword [rbp + 0x38], 0
lea rcx, [rbp + 0x40]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x48]
mov rdx, rsi
call fcn.00547ea1
mov dword [rbp + 0x50], edi
lea rcx, [rbp + 0x58]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x60]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x68]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x70]
mov rdx, rsi
call fcn.00547ea1
mov byte [rbp + 0x78], dil
mov byte [rbp], dil
mov dword [rbp + 4], 0x7b
jmp 0x59afa8
mov qword [rsp + 0x48], rbp
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x28], rax
mov al, 1
xor r13d, r13d
mov ecx, r13d
mov r15d, 0x7d
mov r14d, 0x2c
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x27], al
mov ebx, r13d
mov rax, qword [rdi + 8]
test rax, rax
je 0x59ab03
mov rcx, qword [rax]
jmp 0x59ab06
mov ecx, r13d
mov r12, qword [rdi + 0x10]
cmp r12, rcx
jge 0x59abee
lea rcx, [r12 + 1]
mov qword [rdi + 0x10], rcx
test r12, r12
js 0x59ab2d
test rax, rax
je 0x59ab37
cmp r12, qword [rax]
jge 0x59ab32
jmp 0x59ab4c
test rax, rax
je 0x59ab37
mov rax, qword [rax]
jmp 0x59ab3a
mov eax, r13d
mov rdx, rax
dec rdx
mov rcx, r12
call fcn.005482d0
mov rax, qword [rdi + 8]
mov esi, dword [rax + r12*4 + 0x10]
mov ecx, esi
mov edx, r15d
call fcn.0055459a
test al, al
jne 0x59abf3
mov ecx, esi
mov edx, r14d
call fcn.0055459a
test al, al
jne 0x59abbe
movsxd rbp, esi
mov eax, esi
add eax, 0xffffffd0
cmp eax, 0xa
setb cl
mov r9, qword [rdi]
lea rdx, [0x00625578]
mov r8, qword [rsp + 0x28]
call fcn.005979ad
cmp esi, 0x100
jb 0x59abac
mov edx, r13d
mov rcx, rbp
mov r8d, 0xff
call fcn.0054afea
mov edx, ebp
mov rcx, rbx
call fcn.00547d72
mov rbx, rax
jmp 0x59aaf5
mov rcx, rbx
call fcn.00548257
mov rsi, rax
mov r9, qword [rdi]
mov cl, byte [rsp + 0x27]
and cl, 1
lea rdx, [0x00625538]
mov r8, qword [rsp + 0x28]
call fcn.005979ad
xor eax, eax
mov rcx, rsi
jmp 0x59aae9
mov ebp, r13d
jmp 0x59abfe
mov rcx, rbx
call fcn.00548257
mov rbp, rax
mov rcx, rdi
call fcn.0059693c
mov edx, 0x7d
mov ecx, eax
call fcn.0055459a
mov r9, qword [rdi]
lea rdx, [0x006255c0]
mov ecx, eax
mov r8, qword [rsp + 0x28]
call fcn.005979ad
mov rsi, qword [rsp + 0x40]
test byte [rsp + 0x27], 1
je 0x59ac3f
mov rcx, rbx
call fcn.00548257
mov rsi, rax
test rsi, rsi
je 0x59ac4d
cmp qword [rsi], 0
setg cl
jmp 0x59ac51
xor eax, eax
mov ecx, eax
mov r9, qword [rdi]
lea rdx, [0x00625608]
mov r8, qword [rsp + 0x28]
call fcn.005979ad
test rbp, rbp
je 0x59ac74
cmp qword [rbp], 0
mov r14, rbp
jne 0x59ac83
lea rcx, [0x00625650]
call fcn.00548257
mov r14, rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov rbx, qword [0x02129a10]
mov rax, qword [rbx]
lea rcx, [rsp + 0x50]
mov qword [rcx], rax
mov qword [rbx], rcx
lea rbp, [rsp + 0x60]
call fcn.005ec9f0
mov rcx, rbp
mov rdx, rax
call fcn.005f4cd0
cdqe
mov qword [rbp - 8], rax
test eax, eax
je 0x59ad8f
mov rax, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
mov r14, qword [0x02129a08]
mov rax, qword [r14]
mov rcx, qword [rax]
mov rdx, qword [0x021297a8]
call fcn.0054a539
test al, al
je 0x59adbc
mov qword [rsp + 0x58], 0
mov ecx, 0x7fff
call fcn.0054227d
lea rcx, [0x00625668]
mov rdx, rax
call fcn.00595480
mov r9, qword [rdi]
xor ecx, ecx
mov rdx, rax
mov r8, qword [rsp + 0x28]
call fcn.005979ad
mov rdx, qword [r14]
mov rbx, qword [rdx + 0x28]
test rbx, rbx
je 0x59ad5f
movabs rax, 0x3b4bf89e01daebbf
mov rcx, rbx
sub rcx, rax
mov rbp, qword [rcx + rax - 0x10]
movabs rsi, 0x8ddff5849b2cd212
sub rbp, rsi
add rbp, rsi
add rbp, 8
mov qword [rcx + rax - 0x10], rbp
test rdx, rdx
je 0x59ad8a
mov rax, qword [rdx - 0x10]
add rax, 0xfffffffffffffff8
mov qword [rdx - 0x10], rax
cmp rax, 7
ja 0x59ad8a
add rdx, 0xfffffffffffffff0
mov rcx, qword [0x02129a28]
add rcx, 0x18
call fcn.00545bc7
mov qword [r14], rbx
jmp 0x59adbc
xor eax, eax
mov ebp, eax
lea rdx, [rsp + 0x38]
mov rcx, rsi
mov r8, rbp
call fcn.005529c5
lea rdx, [rsp + 0x30]
mov rcx, r14
mov r8, rbp
call fcn.005529c5
mov rax, qword [rbx]
mov rax, qword [rax]
mov qword [rbx], rax
cmp qword [rsp + 0x58], 0
je 0x59adc9
call fcn.005487c5
mov eax, 0x8000
cmp qword [rsp + 0x38], rax
setl cl
cmp qword [rsp + 0x30], rax
setl bl
xor bl, cl
not bl
and bl, cl
mov ecx, 0x7fff
call fcn.0054227d
lea rcx, [0x00625668]
mov rdx, rax
call fcn.00595480
mov r9, qword [rdi]
mov ecx, ebx
mov rdx, rax
mov r8, qword [rsp + 0x28]
call fcn.005979ad
mov rbx, qword [rsp + 0x30]
sub rbx, qword [rsp + 0x38]
seto al
mov rsi, rbx
mov rbp, qword [rsp + 0x48]
jno 0x59ae38
call fcn.005463cd
mov rsi, qword [rsp + 0x30]
sub rsi, qword [rsp + 0x38]
seto al
test al, 1
je 0x59ae41
call fcn.005463cd
mov rcx, rsi
call fcn.0054227d
lea rcx, [0x006256a8]
mov rdx, rax
call fcn.00595480
cmp rbx, 0x65
setl cl
mov r9, qword [rdi]
mov rdx, rax
mov r8, qword [rsp + 0x28]
call fcn.005979ad
xor r14d, r14d
mov ebx, r14d
mov byte [rbp], r14b
mov dword [rbp + 4], r14d
lea rcx, [rbp + 8]
mov esi, r14d
mov rdx, rsi
call fcn.00547ea1
mov byte [rbp + 0x10], r14b
mov dword [rbp + 0x12], r14d
mov byte [rbp + 0x16], r14b
lea rcx, [rbp + 0x18]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x20]
mov rdx, rsi
call fcn.00547ea1
mov dword [rbp + 0x28], r14d
lea rcx, [rbp + 0x30]
mov rdx, rsi
call fcn.00547ea1
mov qword [rbp + 0x38], 0
lea rcx, [rbp + 0x40]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x48]
mov rdx, rsi
call fcn.00547ea1
mov dword [rbp + 0x50], r14d
lea rcx, [rbp + 0x58]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x60]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x68]
mov rdx, rsi
call fcn.00547ea1
lea rcx, [rbp + 0x70]
mov rdx, rsi
call fcn.00547ea1
mov byte [rbp + 0x78], r14b
mov byte [rbp], 9
mov rcx, qword [rsp + 0x38]
movabs rax, 0xf9913115b134ef55
mov rdx, rcx
sub rdx, rax
add rax, rdx
add rax, 0x8000
cmp rax, 0x10000
jb 0x59af59
mov rdx, 0xffffffffffff8000
mov r8d, 0x7fff
call fcn.00547f4d
mov rcx, qword [rsp + 0x38]
mov eax, ecx
mov word [rbp + 0x28], cx
mov rcx, qword [rsp + 0x30]
movabs rax, 0xd4f4598197c36b53
mov rdx, rcx
sub rdx, rax
add rax, rdx
add rax, 0x8000
cmp rax, 0x10000
jb 0x59af9c
mov rdx, 0xffffffffffff8000
mov r8d, 0x7fff
call fcn.00547f4d
mov rcx, qword [rsp + 0x30]
mov word [rbp + 0x2a], cx
mov rcx, rdi
call fcn.0059a91c
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rdx
mov rdi, rcx
xor ebp, ebp
mov byte [rdx], bpl
mov dword [rdx + 4], ebp
lea r15, [rdx + 8]
mov rcx, r15
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], bpl
mov dword [rsi + 0x12], ebp
mov byte [rsi + 0x16], bpl
lea r12, [rsi + 0x18]
mov rcx, r12
xor edx, edx
call fcn.00547ea1
lea rbx, [rsi + 0x20]
mov rcx, rbx
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], ebp
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x70], rcx
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x68], rcx
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
mov qword [rsp + 0x60], rcx
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], ebp
lea rcx, [rsi + 0x58]
mov qword [rsp + 0x58], rcx
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
mov qword [rsp + 0x50], rcx
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
mov qword [rsp + 0x48], rcx
xor edx, edx
call fcn.00547ea1
lea r13, [rsi + 0x70]
mov rcx, r13
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], bpl
mov r14, qword [rdi + 0x10]
mov rcx, rdi
call fcn.00596a8d
mov ebp, eax
lea rcx, [0x006257d0]
call fcn.0059535a
mov ecx, ebp
mov edx, eax
call fcn.0055459a
mov rcx, rdi
test al, al
je 0x59b3b8
call fcn.005969fa
mov rcx, rdi
call fcn.00596a8d
cmp eax, 0x55
jge 0x59b3f6
cmp eax, 0x3a
jge 0x59b408
cmp eax, 0x2d
jge 0x59b4b9
cmp eax, 0x21
je 0x59b482
jmp 0x59b7a7
call fcn.00596a8d
mov ebx, eax
lea rcx, [0x006257e8]
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
xor al, 1
mov r9, qword [rdi]
lea rdx, [0x00625800]
mov ecx, eax
mov r8, r14
call fcn.005979ad
xor ecx, ecx
xor edx, edx
mov r8b, 1
jmp 0x59b622
cmp eax, 0x73
jge 0x59b45c
cmp eax, 0x69
jge 0x59b466
cmp eax, 0x55
jmp 0x59b4b9
cmp eax, 0x3c
jge 0x59b470
cmp eax, 0x3a
jne 0x59b7a7
mov rcx, rdi
call fcn.005969fa
mov rcx, rdi
call fcn.00596a8d
mov ebx, eax
lea rcx, [0x006257e8]
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
xor al, 1
mov r9, qword [rdi]
lea rdx, [0x00625800]
mov ecx, eax
mov r8, r14
call fcn.005979ad
xor ecx, ecx
xor edx, edx
jmp 0x59b61f
cmp eax, 0x75
jge 0x59b4b1
cmp eax, 0x73
jmp 0x59b4b9
cmp eax, 0x6d
jge 0x59b4b9
cmp eax, 0x69
jmp 0x59b4b9
cmp eax, 0x50
jge 0x59b63a
cmp eax, 0x3e
jge 0x59b7a7
mov rcx, rdi
call fcn.00596a8d
cmp eax, 0x3c
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
jge 0x59b7cb
mov rbx, r15
mov bpl, 0x2a
cmp eax, 0x21
jne 0x59b7dc
jmp 0x59b7ea
cmp eax, 0x78
jge 0x59b4b9
cmp eax, 0x75
jne 0x59b7a7
mov qword [rsp + 0x28], r14
xor r15d, r15d
lea rbp, [0x00624fc0]
lea r13, [0x006253d0]
mov r12d, 1
xor r14d, r14d
mov rax, qword [rdi + 8]
test rax, rax
je 0x59b4ec
mov rcx, qword [rax]
jmp 0x59b4ee
xor ecx, ecx
mov rbx, qword [rdi + 0x10]
cmp rbx, rcx
jge 0x59b61a
lea rcx, [rbx + 1]
mov qword [rdi + 0x10], rcx
test rbx, rbx
js 0x59b514
test rax, rax
je 0x59b51e
cmp rbx, qword [rax]
jge 0x59b519
jmp 0x59b52f
test rax, rax
je 0x59b51e
mov rdx, qword [rax]
jmp 0x59b520
xor edx, edx
dec rdx
mov rcx, rbx
call fcn.005482d0
mov rax, qword [rdi + 8]
mov ebx, dword [rax + rbx*4 + 0x10]
mov rcx, rbp
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
test al, al
jne 0x59b5e3
mov rcx, r13
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
movzx r15d, r15b
test al, al
cmovne r15d, r12d
jne 0x59b4de
mov eax, r15d
xor al, 0xfe
mov ecx, ebx
test al, r15b
je 0x59b580
call fcn.0059afbd
jmp 0x59b585
call fcn.0059b125
mov ebx, eax
mov rcx, r14
mov rdx, qword [0x021296b8]
call fcn.00547b0d
mov r14, rax
mov rax, qword [rax]
mov rcx, rax
movabs rdx, 0x9b3ee21f04427e0e
sub rcx, rdx
add rcx, rdx
inc rcx
mov qword [r14], rcx
mov byte [r14 + rax + 0x10], bl
mov rcx, rdi
call fcn.00596a8d
mov ebx, eax
lea rcx, [0x006257e8]
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
test al, al
je 0x59b4de
jmp 0x59b61a
mov rcx, rdi
call fcn.00596a8d
mov ebx, eax
lea rcx, [0x006257e8]
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
xor al, 1
mov r9, qword [rdi]
lea rdx, [0x00625800]
mov ecx, eax
mov r8, qword [rsp + 0x28]
call fcn.005979ad
xor ecx, ecx
mov rdx, r14
xor r8d, r8d
mov r9, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.005959ae
jne 0x59b7a7
movabs r13, 0x847e8dd454065862
mov rcx, rdi
call fcn.005969fa
mov rcx, rdi
call fcn.00596a8d
mov ebx, eax
lea rcx, [0x00625840]
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
mov r9, qword [rdi]
lea rdx, [0x00625858]
mov ecx, eax
mov r15, r14
mov r8, r14
call fcn.005979ad
mov rcx, rdi
call fcn.005969fa
mov ecx, 0x4b
call fcn.00547bef
mov r12, rax
not r13
lea r14, [0x00625888]
mov rax, qword [rdi + 8]
test rax, rax
je 0x59b6b5
mov rcx, qword [rax]
jmp 0x59b6b7
xor ecx, ecx
mov rbp, qword [rdi + 0x10]
cmp rbp, rcx
jge 0x59b916
lea rcx, [rbp + 1]
mov qword [rdi + 0x10], rcx
test rbp, rbp
js 0x59b6dd
test rax, rax
je 0x59b6e7
cmp rbp, qword [rax]
jge 0x59b6e2
jmp 0x59b705
test rax, rax
je 0x59b6e7
mov rdx, qword [rax]
jmp 0x59b6e9
xor edx, edx
movabs rax, 0x847e8dd454065862
add rdx, rax
add rdx, r13
mov rcx, rbp
call fcn.005482d0
mov rax, qword [rdi + 8]
mov ebp, dword [rax + rbp*4 + 0x10]
mov rcx, r14
call fcn.0059535a
mov ecx, ebp
mov edx, eax
call fcn.0055459a
test al, al
jne 0x59b916
mov ecx, ebp
call fcn.00556640
lea rcx, [0x006258a0]
mov rdx, rax
call fcn.00595480
mov edx, ebp
and edx, 0xffffffdf
add edx, 0xffffffbf
mov cl, 1
cmp edx, 0x1a
jb 0x59b76c
lea ecx, [rbp - 0x30]
cmp ecx, 0xa
setb dl
cmp ebp, 0x2d
sete cl
mov ebx, ecx
and bl, dl
xor cl, dl
or cl, bl
cmp ebp, 0x5f
sete bl
mov edx, ebx
and dl, cl
xor cl, bl
or cl, dl
movsxd rbx, ebp
mov r9, qword [rdi]
mov rdx, rax
mov r8, r15
call fcn.005979ad
cmp ebp, 0x100
jb 0x59b795
mov r8d, 0xff
mov rcx, rbx
xor edx, edx
call fcn.0054afea
mov rcx, r12
mov edx, ebx
call fcn.00547d72
mov r12, rax
jmp 0x59b6a7
mov r9, qword [rdi]
lea rdx, [0x00625a70]
xor ecx, ecx
mov r8, r14
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.005979ad
je 0x59b925
mov rbx, r15
mov bpl, 0x28
cmp eax, 0x3d
je 0x59b7ea
lea rcx, [0x006259c0]
call fcn.0054208a
xor ebp, ebp
mov dword [rsp + 0x34], ebp
mov qword [rsp + 0x28], r14
mov rcx, rdi
call fcn.00596a8d
mov ebp, eax
xor r14d, r14d
lea r15, [0x006259f0]
xor r12d, r12d
mov ecx, dword [r14 + r15]
mov edx, ebp
call fcn.0055459a
test al, al
jne 0x59b832
inc r12
add r14, 4
cmp r14, 8
jne 0x59b80a
lea rcx, [0x006259f8]
call fcn.0054208a
mov rcx, rdi
call fcn.005969fa
mov rcx, rdi
call fcn.00596a8d
mov ecx, eax
mov edx, 0x29
call fcn.0055459a
xor al, 1
mov r9, qword [rdi]
lea rdx, [0x00625a40]
mov ecx, eax
mov r8, qword [rsp + 0x28]
call fcn.005979ad
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
mov rcx, rbx
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
mov rcx, qword [rsp + 0x40]
xor edx, edx
call fcn.00547ea1
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
mov rcx, qword [rsp + 0x70]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
mov rcx, qword [rsp + 0x68]
xor edx, edx
call fcn.00547ea1
mov rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.00547ea1
mov rcx, qword [rsp + 0x50]
xor edx, edx
call fcn.00547ea1
mov rcx, qword [rsp + 0x48]
xor edx, edx
call fcn.00547ea1
mov rcx, r13
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov eax, dword [rsp + 0x34]
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r12, r12
je 0x59b952
cmp qword [r12], 0
setg cl
jmp 0x59b954
mov rcx, rdi
call fcn.005969fa
mov rcx, rdi
call fcn.00596a8d
mov rbx, r15
cmp eax, 0x3d
jge 0x59b9d6
mov bpl, 0x2b
cmp eax, 0x21
je 0x59b7ea
jmp 0x59b9df
xor ecx, ecx
mov r9, qword [rdi]
lea rdx, [0x00625910]
mov r8, r15
call fcn.005979ad
mov rcx, rdi
call fcn.0059693c
mov ebx, eax
lea rcx, [0x00625888]
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
mov r9, qword [rdi]
lea rdx, [0x00625948]
mov ecx, eax
mov r8, r15
call fcn.005979ad
mov rcx, rdi
call fcn.00596a8d
mov ebx, eax
lea rcx, [0x006257e8]
call fcn.0059535a
mov ecx, ebx
mov edx, eax
call fcn.0055459a
xor al, 1
mov r9, qword [rdi]
lea rdx, [0x00625800]
mov ecx, eax
mov r8, r15
call fcn.005979ad
mov rcx, r12
jmp 0x59b3ec
mov bpl, 0x29
je 0x59b7ea
mov r9, qword [rdi]
lea rdx, [0x00625978]
xor ebp, ebp
xor ecx, ecx
mov r8, r14
call fcn.005979ad
jmp 0x59b7ea
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.0059693c
cmp eax, 0x3f
jge 0x59bad1
cmp eax, 0x2a
jge 0x59bb96
cmp eax, 0x28
jge 0x59bcfa
cmp eax, 0x24
jne 0x59bfea
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 0xb
mov dword [rsi + 4], 0x24
jmp 0x59bfe3
cmp eax, 0x5e
jge 0x59bc46
cmp eax, 0x5b
jge 0x59bd11
cmp eax, 0x3f
jne 0x59bfea
mov rcx, rdi
call fcn.0059a91c
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 8
mov dword [rsi + 4], 0x3f
jmp 0x59bfe3
jne 0x59bd31
mov rcx, rdi
call fcn.0059a91c
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 6
mov dword [rsi + 4], 0x2a
jmp 0x59bfe3
cmp eax, 0x7b
jge 0x59bded
cmp eax, 0x5e
jne 0x59bfea
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 0xa
mov dword [rsi + 4], 0x5e
jmp 0x59bfe3
jne 0x59be9e
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x59b28d
je 0x59bffa
cmp eax, 0x5c
jne 0x59bfea
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.00599597
cmp eax, 0x2e
jge 0x59bf40
cmp eax, 0x2b
jne 0x59bfea
mov rcx, rdi
call fcn.0059a91c
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 7
mov dword [rsi + 4], 0x2b
jmp 0x59bfe3
je 0x59c00b
cmp eax, 0x7c
jne 0x59bfea
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 5
mov dword [rsi + 4], 0x7c
jmp 0x59bfe3
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 4
mov dword [rsi + 4], 0x29
jmp 0x59bfe3
jne 0x59bfea
xor edi, edi
mov byte [rsi], dil
mov dword [rsi + 4], edi
lea rcx, [rsi + 8]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x10], dil
mov dword [rsi + 0x12], edi
mov byte [rsi + 0x16], dil
lea rcx, [rsi + 0x18]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x20]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x28], edi
lea rcx, [rsi + 0x30]
xor edx, edx
call fcn.00547ea1
mov qword [rsi + 0x38], 0
lea rcx, [rsi + 0x40]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x48]
xor edx, edx
call fcn.00547ea1
mov dword [rsi + 0x50], edi
lea rcx, [rsi + 0x58]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x60]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x68]
xor edx, edx
call fcn.00547ea1
lea rcx, [rsi + 0x70]
xor edx, edx
call fcn.00547ea1
mov byte [rsi + 0x78], dil
mov byte [rsi], 0x1a
mov dword [rsi + 4], 0x2e
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, eax
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.005956ce
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x59a2f0
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x59a9da