Function at 0x574dd0
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57540a
sub esp, 0x40
mov eax, dword [esp + 0x48]
test eax, eax
je 0x574e46
lea ecx, [0x634640]
mov dword [esp], ecx
mov dword [esp + 4], 0
shr eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0x22
jne 0x574e3a
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 0x5751c1
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x574e8d
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 esi, ebx
mov byte [eax + ebp], bl
xchg esi, ebx
lea esi, [edi - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add ecx, esi
mov ebp, ebx
mov ebx, edi
mov dword [esp + 0x24], ebp
test ebx, ebx
je 0x57501c
movzx esi, byte [ecx]
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
jne 0x574ec4
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 0x574f8a
jmp 0x574ff3
lea edi, [esi - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x574f86
lea edi, [esi - 0x61]
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jbe 0x574f86
lea edi, [esi - 0x41]
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jbe 0x574f86
xchg esi, eax
cmp al, 0x21
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x23
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x24
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x25
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x26
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x27
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x2a
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x2b
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x2d
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x2f
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x3d
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x3f
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x5e
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x5f
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x60
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x7b
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x7c
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x7d
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x7e
xchg esi, eax
je 0x574f86
xchg esi, eax
cmp al, 0x2e
xchg esi, eax
jne 0x57501c
mov edi, ebx
mov esi, ecx
test edi, edi
jbe 0x5751b2
lea ebx, [ebp + 1]
mov ecx, esi
movzx esi, byte [esi]
cmp edx, ebx
jae 0x574e6f
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], ecx
lea ecx, [0x634640]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004484a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
movzx esi, byte [esp + 0x21]
mov edi, dword [esp + 0x30]
jmp 0x574e6f
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 0x5750b7
mov word [esp + 0x22], 0
mov word [esp + 0x22], 0x2e2e
cmp byte [eax], 0x2e
je 0x57507c
lea esi, [ebp + eax - 1]
cmp byte [esi], 0x2e
je 0x57507c
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ebx
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.00478d70
cmp dword [esp + 0x18], 0xffffffff
je 0x5750a5
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 0x5750e0
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 0x5750e9
cmp byte [ecx], 0x40
je 0x575112
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.00575420
movzx eax, byte [esp + 0x14]
test al, al
je 0x575189
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.0044bc40
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, edi
call fcn.0045f420
mov ecx, eax
mov ebp, esi
mov eax, edi
test ebx, ebx
je 0x5753e1
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 0x5753d0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ebp
xchg esi, eax
cmp al, 0x5c
xchg esi, eax
jne 0x5752ab
cmp ebx, 1
je 0x57537e
movzx ecx, byte [ecx + edi]
cmp cl, 0xb
je 0x57523b
cmp cl, 0xc
je 0x57523b
cmp cl, 1
jb 0x575355
cmp cl, 9
jbe 0x57523b
cmp cl, 0xe
jb 0x575355
cmp cl, 0x7f
ja 0x575355
lea esi, [ebp + 1]
cmp edx, esi
jb 0x575248
mov edi, dword [esp + 0x34]
jmp 0x575294
mov byte [esp + 0x21], cl
mov dword [esp + 0x30], ebx
lea eax, [0x634640]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.004484a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + 1]
movzx ecx, byte [esp + 0x21]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x3c]
mov byte [edi + ebp], cl
lea ecx, [ebx - 2]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add eax, ecx
jmp 0x5751bb
xchg esi, eax
cmp al, 0xb
xchg esi, eax
je 0x5752f2
xchg esi, eax
cmp al, 0xc
xchg esi, eax
je 0x5752f2
xchg esi, eax
cmp al, 0x20
xchg esi, eax
je 0x5752f2
xchg esi, eax
cmp al, 0x21
xchg esi, eax
je 0x5752f2
xchg esi, eax
cmp al, 0x7f
xchg esi, eax
je 0x5752f2
lea ecx, [esi - 1]
cmp cl, 7
jbe 0x5752f2
lea ecx, [esi - 0xe]
cmp cl, 0x11
jbe 0x5752f2
lea ecx, [esi - 0x23]
cmp cl, 0x38
jbe 0x5752f2
lea ecx, [esi - 0x5d]
cmp cl, 0x21
ja 0x5753a7
lea ecx, [ebp + 1]
cmp edx, ecx
jb 0x5752ff
mov ebx, dword [esp + 0x34]
jmp 0x575343
xchg esi, eax
mov byte [esp + 0x20], al
xchg esi, eax
lea eax, [0x634640]
mov dword [esp], eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004484a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebp, dword [esp + 0x24]
movzx esi, byte [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x3c]
xchg esi, eax
mov byte [ebx + ebp], al
xchg esi, eax
mov esi, ecx
mov edi, ebx
mov ebx, dword [esp + 0x30]
jmp 0x5751bb
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 0x5750e0
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.0045df90
jmp fcn.00574dd0