Function at 0x5d43b0
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5d49e0
sub esp, 0x40
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5d4424
lea ecx, [0x6f4820]
mov dword [esp], ecx
mov dword [esp + 4], 0
shr eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0x22
jne 0x5d4418
mov edx, dword [esp + 0x48]
dec edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x28]
xor ebp, ebp
jmp 0x5d479b
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x5d446c
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
xchg ebp, ecx
mov byte [ebx + eax - 1], cl
xchg ebp, ecx
dec edi
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add esi, edi
mov ebp, ebx
mov ebx, ecx
mov ecx, esi
test ebx, ebx
je 0x5d45f2
movzx esi, byte [ecx]
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
jne 0x5d449f
lea esi, [ebx - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, ecx
cmp ebx, 1
jne 0x5d4565
jmp 0x5d45c9
lea edi, [esi - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x5d4561
lea edi, [esi - 0x61]
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jbe 0x5d4561
lea edi, [esi - 0x41]
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jbe 0x5d4561
xchg esi, eax
cmp al, 0x21
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x23
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x24
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x25
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x26
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x27
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x2a
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x2b
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x2d
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x2f
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x3d
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x3f
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x5e
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x5f
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x60
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x7b
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x7c
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x7d
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x7e
xchg esi, eax
je 0x5d4561
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x5d45f2
mov edi, ebx
mov esi, ecx
test edi, edi
jbe 0x5d478c
lea ebx, [ebp + 1]
movzx ebp, byte [esi]
cmp edx, ebx
jae 0x5d444d
mov dword [esp + 0x3c], esi
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
mov dword [esp + 0x30], edi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ebp, byte [esp + 0x21]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
jmp 0x5d444d
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
test ebp, ebp
je 0x5d4691
mov word [esp + 0x22], 0
mov word [esp + 0x22], 0x2e2e
cmp byte [eax], 0x2e
je 0x5d4656
lea esi, [ebp + eax - 1]
cmp byte [esi], 0x2e
je 0x5d4656
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
lea ecx, [esp + 0x22]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004d6380
cmp dword [esp + 0x18], 0xffffffff
je 0x5d467f
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
jmp 0x5d46ba
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
test eax, eax
je 0x5d46c3
cmp byte [ecx], 0x40
je 0x5d46ec
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebx
dec eax
mov dword [esp + 0x30], eax
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005d49f0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5d4763
mov dword [esp], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.004523c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], 1
add esp, 0x40
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
xor eax, eax
mov ecx, eax
call fcn.00468ed0
mov ebx, edi
mov ecx, eax
mov eax, esi
test ebx, ebx
je 0x5d49b7
mov dword [esp + 0x34], eax
movzx esi, byte [ecx]
lea edi, [ebx - 1]
mov dword [esp + 0x30], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
lea eax, [edi + ecx]
xchg esi, eax
cmp al, 0x22
xchg esi, eax
je 0x5d49a6
mov dword [esp + 0x3c], eax
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
jne 0x5d487c
cmp ebx, 1
je 0x5d4954
movzx ecx, byte [ecx + edi]
cmp cl, 0xb
je 0x5d4810
cmp cl, 0xc
je 0x5d4810
test cl, cl
je 0x5d492b
cmp cl, 9
jbe 0x5d4810
cmp cl, 0xe
jb 0x5d492b
cmp cl, 0x7f
ja 0x5d492b
inc ebp
cmp edx, ebp
jb 0x5d481b
mov esi, dword [esp + 0x34]
jmp 0x5d4864
mov byte [esp + 0x21], cl
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x21]
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x3c]
mov byte [ebp + esi - 1], cl
lea edi, [ebx - 2]
mov ecx, edi
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
jmp 0x5d4795
xchg esi, eax
cmp al, 0xb
xchg esi, eax
je 0x5d48c8
xchg esi, eax
cmp al, 0xc
xchg esi, eax
je 0x5d48c8
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5d48c8
xchg esi, eax
cmp al, 0x21
xchg esi, eax
je 0x5d48c8
xchg esi, eax
cmp al, 0x7f
xchg esi, eax
je 0x5d48c8
xchg esi, eax
test al, al
xchg esi, eax
je 0x5d48ac
xchg esi, eax
cmp al, 8
xchg esi, eax
jbe 0x5d48c8
lea ecx, [esi - 0xe]
cmp cl, 0x11
jbe 0x5d48c8
lea ecx, [esi - 0x23]
cmp cl, 0x38
jbe 0x5d48c8
lea ecx, [esi - 0x5d]
cmp cl, 0x21
ja 0x5d497d
lea ecx, [ebp + 1]
cmp edx, ecx
jb 0x5d48d5
mov ebx, dword [esp + 0x34]
jmp 0x5d4918
xchg esi, eax
mov byte [esp + 0x20], al
xchg esi, eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x3c]
xchg esi, eax
mov byte [ecx + ebx - 1], al
xchg esi, eax
mov edi, dword [esp + 0x30]
mov ebp, ecx
mov esi, ebx
jmp 0x5d4795
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
mov ecx, eax
mov edx, ebp
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
jmp 0x5d46ba
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov byte [esp + 0x5c], 0
add esp, 0x40
ret
call fcn.00467a60
jmp fcn.005d43b0