Function at 0x1800588c0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov edi, edx
mov rsi, rcx
test rcx, rcx
je 0x180058d52
test edx, edx
je 0x180058d52
mov qword [rsp + 0x30], rbp
movabs rbp, 0xffffffef00002400
movzx edx, byte [rsi]
test dl, dl
jne 0x180058905
mov dl, 0x40
jmp 0x180058d30
cmp dl, 2
jne 0x180058911
mov dl, 0x24
jmp 0x180058d30
cmp dl, 0x11
jne 0x18005891d
mov dl, 0x5f
jmp 0x180058d30
cmp dl, 1
jne 0x180058934
mov r8b, 0xa3
mov dl, 0xc2
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 3
jne 0x18005894b
mov r8b, 0xa5
mov dl, 0xc2
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 4
jne 0x180058962
mov r8b, 0xa8
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 5
jne 0x180058979
mov r8b, 0xa9
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 6
jne 0x180058990
mov r8b, 0xb9
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 7
jne 0x1800589a7
mov r8b, 0xac
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 8
jne 0x1800589be
mov r8b, 0xb2
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 9
jne 0x1800589d5
mov r8b, 0x87
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0xb
jne 0x1800589ec
mov r8b, 0x98
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0xc
jne 0x180058a03
mov r8b, 0xb8
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0xe
jne 0x180058a1a
mov r8b, 0x85
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0xf
jne 0x180058a31
mov r8b, 0xa5
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x10
jne 0x180058a48
mov r8b, 0x94
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x12
jne 0x180058a5f
mov r8b, 0xa6
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x13
jne 0x180058a76
mov r8b, 0x93
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x14
jne 0x180058a8d
mov r8b, 0x9b
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x15
jne 0x180058aa4
mov r8b, 0xa9
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x16
jne 0x180058abb
mov r8b, 0xa0
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x17
jne 0x180058ad2
mov r8b, 0xa8
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x18
jne 0x180058ae9
mov r8b, 0xa3
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x19
jne 0x180058b00
mov r8b, 0x98
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x1a
jne 0x180058b17
mov r8b, 0x9e
mov dl, 0xce
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x1c
jne 0x180058b2e
mov r8b, 0x86
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x1d
jne 0x180058b45
mov r8b, 0xa6
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x1e
jne 0x180058b5c
mov r8b, 0x9f
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x1f
jne 0x180058b73
mov r8b, 0x89
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x24
jne 0x180058b8a
mov r8b, 0xa4
mov dl, 0xc2
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x40
jne 0x180058ba1
mov r8b, 0xa1
mov dl, 0xc2
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x5b
jne 0x180058bb8
mov r8b, 0x84
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x5c
jne 0x180058bcf
mov r8b, __WSAFDIsSet
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x5d
jne 0x180058be6
mov r8b, 0x91
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x5e
jne 0x180058bfd
mov r8b, 0x9c
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x5f
jne 0x180058c14
mov r8b, 0xa7
mov dl, 0xc2
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x60
jne 0x180058c2b
mov r8b, 0xbf
mov dl, 0xc2
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x7b
jne 0x180058c42
mov r8b, 0xa4
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x7c
jne 0x180058c59
mov r8b, 0xb6
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x7d
jne 0x180058c70
mov r8b, 0xb1
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x7e
jne 0x180058c87
mov r8b, 0xbc
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x7f
jne 0x180058c9e
mov r8b, 0xa0
mov dl, 0xc3
mov rcx, rbx
call fcn.18001b9f0
jmp 0x180058d38
cmp dl, 0x1b
jne 0x180058d17
inc rsi
lea eax, [rdi - 1]
test edi, edi
cmove eax, edi
mov edi, eax
movzx eax, byte [rsi]
cmp al, 0x10
jne 0x180058cbb
mov dl, reloc.WS2_32.dll_inet_ntoa
jmp 0x180058d30
cmp al, 0x14
jne 0x180058cc3
mov dl, 0x5e
jmp 0x180058d30
cmp al, 0x28
jne 0x180058ccb
mov dl, 0x7b
jmp 0x180058d30
cmp al, 0x29
jne 0x180058cd3
mov dl, 0x7d
jmp 0x180058d30
cmp al, 0x2f
jne 0x180058cdb
mov dl, 0x5c
jmp 0x180058d30
cmp al, 0x3c
jne 0x180058ce3
mov dl, 0x5b
jmp 0x180058d30
cmp al, 0x3d
jne 0x180058ceb
mov dl, 0x7e
jmp 0x180058d30
cmp al, 0x3e
jne 0x180058cf3
mov dl, 0x5d
jmp 0x180058d30
cmp al, 0x40
jne 0x180058cfb
mov dl, 0x7c
jmp 0x180058d30
cmp al, 0x65
jne 0x180058d38
mov dl, 0xe2
mov rcx, rbx
call fcn.18001baf0
mov dl, 0x82
mov rcx, rbx
call fcn.18001baf0
mov dl, 0xac
jmp 0x180058d30
cmp dl, 0x3f
ja 0x180058d22
bt rbp, rdx
jb 0x180058d30
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x180058d30
lea eax, [rdx - 0x60]
cmp al, 0x1a
ja 0x180058d38
mov rcx, rbx
call fcn.18001baf0
inc rsi
lea eax, [rdi - 1]
test edi, edi
cmove eax, edi
mov edi, eax
test eax, eax
jne 0x1800588f7
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov al, 1
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret