Function at 0x4054a0
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b8b8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x42400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
xor edx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x30], edi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], vtable.CBufferT_char_.0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], edx
mov al, byte [esi + 0x90]
test al, al
jne 0x405519
cmp dword [esi + 0x94], 1
je 0x4056f9
mov ecx, dword [esi + 0x94]
test ecx, ecx
jne 0x4055ca
mov cl, byte [esi + 0xa0]
cmp cl, 0x7b
jne 0x40553f
cmp dword [esi + 0xa4], 1
je 0x4056d9
cmp cl, 0x3f
jne 0x405551
cmp dword [esi + 0xa4], 1
je 0x4056d9
cmp cl, 0x2a
jne 0x405563
cmp dword [esi + 0xa4], 1
je 0x4056d9
cmp cl, 0x2b
jne 0x405575
cmp dword [esi + 0xa4], 1
je 0x4056d9
mov al, byte [esi + 0x90]
push ecx
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0x28]
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00408260
movups xmm0, xmmword [esi + 0x90]
movups xmmword [esi + 0x80], xmm0
movups xmm0, xmmword [esi + 0xa0]
movups xmmword [esi + 0x90], xmm0
movups xmm0, xmmword [esi + 0xb0]
movups xmmword [esi + 0xa0], xmm0
mov ecx, esi
call fcn.00403840
test eax, eax
je 0x4055b7
mov edx, dword [ebp - 0x20]
jmp 0x405502
cmp ecx, 1
jne 0x405502
cmp al, 0x29
je 0x4056f9
cmp al, 0x7c
je 0x4056f9
test edx, edx
jg 0x405701
cmp al, 0x28
je 0x4057ff
cmp al, 0x5b
je 0x4057f5
cmp al, 0x2e
je 0x4057f5
cmp al, 0x77
je 0x4057f5
cmp al, 0x57
je 0x4057f5
cmp al, 0x73
je 0x4057f5
cmp al, 0x53
je 0x4057f5
cmp al, 0x64
je 0x4057f5
cmp al, 0x44
je 0x4057f5
cmp al, 0x5e
je 0x4057eb
cmp al, 0x24
je 0x4057eb
cmp al, 0x41
je 0x4057eb
cmp al, 0x5a
je 0x4057eb
cmp al, 0x7a
je 0x4057eb
cmp al, 0x62
je 0x4057eb
cmp al, 0x42
je 0x4057eb
cmp al, 0x47
je 0x4057eb
cmp al, 0x5c
je 0x4057e1
cmp al, 0x6b
je 0x4057e1
cmp al, 0x67
je 0x4057e1
push ecx
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408260
movups xmm0, xmmword [esi + 0x90]
movups xmmword [esi + 0x80], xmm0
movups xmm0, xmmword [esi + 0xa0]
movups xmmword [esi + 0x90], xmm0
movups xmm0, xmmword [esi + 0xb0]
movups xmmword [esi + 0xa0], xmm0
mov ecx, esi
call fcn.00403840
test eax, eax
je 0x4056c6
mov edx, dword [ebp - 0x20]
jmp 0x405502
test edx, edx
jne 0x4056fb
push ecx
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0x28]
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00408260
mov ecx, esi
call fcn.00403220
mov edx, dword [ebp - 0x20]
test edx, edx
jle 0x405809
push 0x1c
call fcn.004094ae
mov ecx, dword [ebp - 0x30]
mov edx, eax
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x2c], edx
test eax, eax
mov edi, 0x4218d0
movups xmmword [edx], xmm0
cmovne edi, eax
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov ecx, dword [ecx]
mov eax, ecx
and eax, 8
mov dword [edx], vtable.CStringElxT_char_.0
mov dword [ebp - 0x34], eax
and ecx, 0x10
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
inc eax
push eax
mov dword [ebp - 0x30], ecx
mov dword [edx + 8], 0
mov dword [edx + 4], vtable.CBufferT_char_.0
mov dword [edx + 0x10], eax
call fcn.0040f2ca
mov ecx, dword [ebp - 0x2c]
add esp, 4
push dword [ecx + 0xc]
mov dword [ecx + 8], eax
push edi
push eax
call fcn.0040c3d0
mov edi, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp ecx, eax
jl 0x4057d6
lea edi, [eax + eax]
mov edx, 4
mov eax, 8
cmp edi, eax
cmovl edi, eax
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [esi + 0x18]
call fcn.0040ead2
mov ecx, dword [esi + 0x1c]
add esp, 8
mov dword [esi + 0x20], edi
mov edi, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1c]
jmp 0x405814
push edi
mov ecx, esi
call fcn.00407e60
jmp 0x405812
push edi
mov ecx, esi
call fcn.00407bf0
jmp 0x405812
push edi
mov ecx, esi
call fcn.00406200
jmp 0x405812
push edi
mov ecx, esi
call fcn.004069e0
jmp 0x405812
push 0
mov ecx, esi
call fcn.00404320
mov edi, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405824
push eax
call fcn.0040eab5
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00408f5e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4