Function at 0x40c140
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40c455
nop dword [eax]
cmp eax, 0x7c
je 0x40c455
cmp eax, 0x29
jne 0x40c185
cmp dword [esi + 0x10], 0
jne 0x40c455
test dword [esi + 0x50], 0x10000000
je 0x40c46c
cmp eax, 0x2e
jne 0x40c199
lea ecx, [esi + 0x24]
push 5
call fcn.0040b8c0
jmp 0x40c36e
cmp eax, 0x5c
jne 0x40c1fe
mov ecx, esi
call fcn.0040c0e0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40c1cb
cmp byte [esi + 0x48], 0x62
jne 0x40c1cb
lea ecx, [esi + 0x24]
push 4
call fcn.0040b8c0
mov ecx, esi
call fcn.0040c0e0
jmp 0x40c447
test eax, eax
je 0x40c1f2
cmp byte [esi + 0x48], 0x42
jne 0x40c1f2
lea ecx, [esi + 0x24]
push 4
call fcn.0040b8c0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040c0e0
jmp 0x40c447
mov ecx, esi
call fcn.0040d200
jmp 0x40c375
cmp eax, 0x5b
jne 0x40c2b0
mov ecx, esi
call fcn.0040c0e0
lea ecx, [esi + 0x24]
call fcn.0040eb30
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40c22f
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040c0e0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40c29a
cmp eax, 0x5d
jne 0x40c29a
test dword [esi + 0x2c], 0x100
mov bl, al
je 0x40c258
mov eax, dword [esi + 0x30]
push 0x5d
mov ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::ctype_char_::tolower_char_const]
mov bl, al
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x40c27e
push 0x20
call fcn.0076d2e3
xorps xmm0, xmm0
mov dword [ebp - 8], eax
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
movzx edx, bl
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.0040c0e0
mov ecx, esi
call fcn.0040e620
cmp dword [esi + 0x4c], 0x5d
jne 0x40c465
jmp 0x40c36e
cmp eax, 0x28
jne 0x40c2e3
mov ecx, esi
call fcn.0040c0e0
mov ecx, esi
call fcn.0040d3a0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40c46c
mov ecx, esi
call fcn.0040c0e0
test bl, bl
je 0x40c447
jmp 0x40c375
cmp eax, 0x5e
jne 0x40c2fe
lea ecx, [esi + 0x24]
push 2
call fcn.0040b8c0
mov ecx, esi
call fcn.0040c0e0
jmp 0x40c447
cmp eax, 0x24
jne 0x40c319
lea ecx, [esi + 0x24]
push 3
call fcn.0040b8c0
mov ecx, esi
call fcn.0040c0e0
jmp 0x40c447
cmp eax, 0x2a
je 0x40c45e
cmp eax, 0x2b
je 0x40c45e
cmp eax, 0x3f
je 0x40c45e
cmp eax, 0x7b
je 0x40c45e
cmp eax, 0x7d
jne 0x40c34f
test dword [esi + 0x50], 0x10000000
je 0x40c473
cmp eax, 0x5d
jne 0x40c361
test dword [esi + 0x50], 0x10000000
je 0x40c465
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040d4b0
mov ecx, esi
call fcn.0040c0e0
mov eax, dword [esi + 0x4c]
xor ebx, ebx
or edi, 0xffffffff
cmp eax, 0x2a
je 0x40c40c
cmp eax, 0x2b
jne 0x40c390
lea ebx, [edi + 2]
jmp 0x40c40c
cmp eax, 0x3f
jne 0x40c39a
lea edi, [eax - 0x3e]
jmp 0x40c40c
cmp eax, 0x7b
jne 0x40c447
mov ecx, esi
call fcn.0040c0e0
push SysReAllocString
push 0xa
mov ecx, esi
call fcn.0040f880
cmp eax, 0x7fffffff
je 0x40c47a
mov eax, dword [esi + 0x4c]
mov ebx, dword [esi + 0x44]
cmp eax, 0x2c
je 0x40c3d2
mov edi, ebx
jmp 0x40c3fe
mov ecx, esi
call fcn.0040c0e0
cmp dword [esi + 0x4c], 0x7d
je 0x40c40c
push SysReAllocString
push 0xa
mov ecx, esi
call fcn.0040f880
cmp eax, 0x7fffffff
je 0x40c47a
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
cmp eax, 0x7d
jne 0x40c47a
cmp edi, 0xffffffff
je 0x40c40c
cmp edi, ebx
jl 0x40c47a
mov eax, dword [esi + 0x28]
mov ecx, esi
or dword [eax + 8], 4
call fcn.0040c0e0
test dword [esi + 0x50], 0x400
je 0x40c436
cmp dword [esi + 0x4c], 0x3f
jne 0x40c436
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.0040c0e0
jmp 0x40c43a
mov byte [ebp - 4], 1
push dword [ebp - 4]
lea ecx, [esi + 0x24]
push edi
push ebx
call fcn.0040ebd0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40c160
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0040a380
push 4
call fcn.0040a380
push 5
call fcn.0040a380
push 6
call fcn.0040a380
push 7
call fcn.0040a380
int3