Function at 0x140006220
Capabilities:
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, r8
cmp edx, dword [rcx + 0x5e0]
jl 0x14000624e
lea r8, str.Error_Parameters___DevIdx_is_not_exist
mov edx, 0xe95
lea rcx, str.CHIDWinGet::GetDevActivePenProfile
add rsp, 0x20
pop rdi
jmp fcn.14000b920
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + 0x5d8]
mov rbx, qword [rbx]
test edx, edx
jns 0x140006271
neg edx
mov eax, edx
mov rbx, qword [rbx + 8]
sub rax, 1
jne 0x140006265
jmp 0x14000627c
jle 0x14000627c
mov rbx, qword [rbx]
dec edx
test edx, edx
jg 0x140006273
xor edx, edx
mov r8d, 0x140
mov rcx, rdi
call fcn.14003cb00
mov rax, qword [rbx + 0x1748]
xor r8d, r8d
mov edx, r8d
movzx ecx, byte [rax + 2]
mov dword [rdi], ecx
movzx eax, word [rbx + 0x16dc]
mov dword [rdi + 0x13c], eax
mov rcx, qword [rbx + 0x1740]
cmp r8w, word [rbx + 0x1706]
jae 0x140006373
cmp word [rcx], 0xd
jne 0x14000635e
movzx eax, word [rcx + 0x38]
cmp ax, 0x42
jne 0x1400062ec
movzx eax, word [rcx + 0x44]
mov dword [rdi + 4], eax
mov dword [rdi + 8], 0x42
mov dword [rdi + 0xc], 0xd
jmp 0x14000635e
cmp ax, 0x32
jne 0x140006309
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x34], eax
mov dword [rdi + 0x38], 0x32
mov dword [rdi + 0x3c], 0xd
jmp 0x14000635e
cmp ax, 0x44
jne 0x140006326
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], 0x44
mov dword [rdi + 0x18], 0xd
jmp 0x14000635e
cmp ax, 0x45
jne 0x140006343
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x20], 0x45
mov dword [rdi + 0x24], 0xd
jmp 0x14000635e
cmp ax, 0x3c
jne 0x14000635e
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x28], eax
mov dword [rdi + 0x2c], 0x3c
mov dword [rdi + 0x30], 0xd
movzx eax, word [rbx + 0x1706]
add rcx, 0x48
inc edx
cmp edx, eax
jl 0x1400062c1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi + 0x94], xmm0
mov qword [rdi + 0xa4], rax
mov dword [rdi + 0xac], eax
movups xmmword [rdi + 0xcc], xmm0
mov qword [rdi + 0xdc], rax
mov dword [rdi + 0xe4], eax
movups xmmword [rdi + 0xb0], xmm0
mov qword [rdi + 0xc0], rax
mov dword [rdi + 0xc8], eax
movups xmmword [rdi + 0xe8], xmm0
movups xmmword [rdi + 0xf8], xmm0
movups xmmword [rdi + 0x108], xmm0
movups xmmword [rdi + 0x118], xmm0
movups xmmword [rdi + 0x128], xmm0
mov dword [rdi + 0x138], eax
mov rcx, qword [rbx + 0x1748]
cmp r8w, word [rbx + 0x1708]
jae 0x1400066a0
mov edx, 0xff00
mov r9d, 0x80
nop dword [rax]
movzx eax, word [rcx]
cmp ax, 1
jne 0x14000647f
movzx eax, word [rcx + 0x38]
cmp ax, 0x30
jne 0x140006444
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x44], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x48], eax
movzx eax, word [rcx]
mov dword [rdi + 0x50], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0x4c], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0x58], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x40], 1
jmp 0x140006689
cmp ax, 0x31
jne 0x140006689
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x60], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x64], eax
movzx eax, word [rcx]
mov dword [rdi + 0x6c], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0x68], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0x74], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0x70], eax
mov byte [rdi + 0x5c], 1
jmp 0x140006689
cmp ax, 0xd
jne 0x1400065f2
movzx eax, word [rcx + 0x38]
cmp ax, 0x30
jne 0x1400064d3
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x7c], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x80], eax
movzx eax, word [rcx]
mov dword [rdi + 0x88], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0x84], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0x90], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0x8c], eax
mov byte [rdi + 0x78], 1
jmp 0x140006689
cmp ax, 0x3b
jne 0x14000651f
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x98], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x9c], eax
movzx eax, word [rcx]
mov dword [rdi + 0xa4], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0xa0], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0xac], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0xa8], eax
mov byte [rdi + 0x94], 1
jmp 0x140006689
cmp ax, 0x3d
jne 0x140006564
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0xec], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0xf0], eax
movzx eax, word [rcx]
mov dword [rdi + 0xf8], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0xf4], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0x100], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0xfc], eax
jmp 0x140006689
cmp ax, 0x3e
jne 0x1400065a9
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x108], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x10c], eax
movzx eax, word [rcx]
mov dword [rdi + 0x114], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0x110], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0x11c], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0x118], eax
jmp 0x140006689
cmp ax, 0x3f
jne 0x140006689
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x124], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0x128], eax
movzx eax, word [rcx]
mov dword [rdi + 0x130], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0x12c], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0x138], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0x134], eax
jmp 0x140006689
cmp ax, dx
jne 0x140006689
movzx eax, word [rcx + 0x38]
cmp ax, 1
jne 0x140006648
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0xb4], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0xb8], eax
movzx eax, word [rcx]
mov dword [rdi + 0xc0], eax
movzx eax, word [rcx + 0x38]
mov dword [rdi + 0xbc], eax
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0xc8], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0xc4], eax
mov byte [rdi + 0xb0], 1
jmp 0x140006689
cmp ax, r9w
jne 0x140006689
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0xd0], eax
movzx eax, word [rcx + 0x44]
mov dword [rdi + 0xd4], eax
movzx eax, word [rcx + 0x14]
mov dword [rdi + 0xe0], eax
mov dword [rdi + 0xdc], edx
mov dword [rdi + 0xd8], r9d
movzx eax, word [rcx + 0x12]
mov dword [rdi + 0xe4], eax
mov byte [rdi + 0xcc], 1
movzx eax, word [rbx + 0x1708]
add rcx, 0x48
inc r8d
cmp r8d, eax
jl 0x140006400
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret