Function at 0x405490
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 0x41b898
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 0x405509
cmp dword [esi + 0x94], 1
je 0x4056e9
mov ecx, dword [esi + 0x94]
test ecx, ecx
jne 0x4055ba
mov cl, byte [esi + 0xa0]
cmp cl, 0x7b
jne 0x40552f
cmp dword [esi + 0xa4], 1
je 0x4056c9
cmp cl, 0x3f
jne 0x405541
cmp dword [esi + 0xa4], 1
je 0x4056c9
cmp cl, 0x2a
jne 0x405553
cmp dword [esi + 0xa4], 1
je 0x4056c9
cmp cl, 0x2b
jne 0x405565
cmp dword [esi + 0xa4], 1
je 0x4056c9
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.00408250
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.00403830
test eax, eax
je 0x4055a7
mov edx, dword [ebp - 0x20]
jmp 0x4054f2
cmp ecx, 1
jne 0x4054f2
cmp al, 0x29
je 0x4056e9
cmp al, 0x7c
je 0x4056e9
test edx, edx
jg 0x4056f1
cmp al, 0x28
je 0x4057ef
cmp al, 0x5b
je 0x4057e5
cmp al, 0x2e
je 0x4057e5
cmp al, 0x77
je 0x4057e5
cmp al, 0x57
je 0x4057e5
cmp al, 0x73
je 0x4057e5
cmp al, 0x53
je 0x4057e5
cmp al, 0x64
je 0x4057e5
cmp al, 0x44
je 0x4057e5
cmp al, 0x5e
je 0x4057db
cmp al, 0x24
je 0x4057db
cmp al, 0x41
je 0x4057db
cmp al, 0x5a
je 0x4057db
cmp al, 0x7a
je 0x4057db
cmp al, 0x62
je 0x4057db
cmp al, 0x42
je 0x4057db
cmp al, 0x47
je 0x4057db
cmp al, 0x5c
je 0x4057d1
cmp al, 0x6b
je 0x4057d1
cmp al, 0x67
je 0x4057d1
push ecx
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408250
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.00403830
test eax, eax
je 0x4056b6
mov edx, dword [ebp - 0x20]
jmp 0x4054f2
test edx, edx
jne 0x4056eb
push ecx
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0x28]
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00408250
mov ecx, esi
call fcn.00403210
mov edx, dword [ebp - 0x20]
test edx, edx
jle 0x4057f9
push 0x1c
call fcn.0040949d
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.0040f2ba
mov ecx, dword [ebp - 0x2c]
add esp, 4
push dword [ecx + 0xc]
mov dword [ecx + 8], eax
push edi
push eax
call fcn.0040c3c0
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 0x4057c6
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.0040eac2
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 0x405804
push edi
mov ecx, esi
call fcn.00407e50
jmp 0x405802
push edi
mov ecx, esi
call fcn.00407be0
jmp 0x405802
push edi
mov ecx, esi
call fcn.004061f0
jmp 0x405802
push edi
mov ecx, esi
call fcn.004069d0
jmp 0x405802
push 0
mov ecx, esi
call fcn.00404310
mov edi, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405814
push eax
call fcn.0040eaa5
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.00408f4e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4