Function at 0x40a710
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
cmp dword [esi + 0x4c], 0xffffffff
je 0x40ac5c
nop word [eax + eax]
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x40ac5c
cmp eax, 0x29
jne 0x40a758
cmp dword [esi + 0x10], 0
jne 0x40ac5c
test dword [esi + 0x50], 0x10000000
je 0x40ac65
cmp eax, 0x2e
jne 0x40a80f
push 0x14
call fcn.0043fb3f
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40a7ae
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40a803
cmp word [eax], 0x5c
jne 0x40a800
add eax, 2
cmp eax, ecx
je 0x40a7f8
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40a7e2
movzx edx, word [eax]
cmp edx, 0x28
je 0x40a7f4
cmp edx, 0x29
je 0x40a7f4
test cl, 0x10
jne 0x40a7f8
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40a7f4
cmp ecx, 0x7d
jne 0x40a7f8
mov cl, 1
jmp 0x40a7fa
xor cl, cl
test cl, cl
je 0x40a800
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004091b0
jmp 0x40ac49
cmp eax, 0x5c
jne 0x40a911
mov ecx, esi
call fcn.0040a6c0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40a892
cmp word [esi + 0x48], 0x62
jne 0x40a892
push 0x14
call fcn.0043fb3f
mov ecx, eax
mov dword [ecx + 4], 4
mov dword [ecx], vtable.std::_Node_base.0
add esp, 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40a87d
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x28], ecx
mov ecx, esi
call fcn.0040a6c0
jmp 0x40ac50
test eax, eax
je 0x40a905
cmp word [esi + 0x48], 0x42
jne 0x40a905
push 0x14
call fcn.0043fb3f
mov ecx, eax
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx], vtable.std::_Node_base.0
mov dword [ecx + 4], 4
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40a8ea
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
mov eax, ecx
mov dword [esi + 0x28], ecx
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040a6c0
jmp 0x40ac50
mov ecx, esi
call fcn.0040c1b0
jmp 0x40ac49
cmp eax, 0x5b
jne 0x40aa61
mov ecx, esi
call fcn.0040a6c0
lea ecx, [esi + 0x24]
call fcn.0040d380
cmp dword [esi + 0x4c], 0x5e
jne 0x40a989
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40a982
cmp word [eax], 0x5c
jne 0x40a97f
add eax, 2
cmp eax, ecx
je 0x40a977
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40a961
movzx edx, word [eax]
cmp edx, 0x28
je 0x40a973
cmp edx, 0x29
je 0x40a973
test cl, 0x10
jne 0x40a977
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40a973
cmp ecx, 0x7d
jne 0x40a977
mov cl, 1
jmp 0x40a979
xor cl, cl
test cl, cl
je 0x40a97f
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004091b0
test dword [esi + 0x50], 0x20000000
je 0x40a9f8
cmp dword [esi + 0x4c], 0x5d
jne 0x40a9f8
mov eax, dword [esi + 0x2c]
mov ebx, 0x5d
and eax, 0x100
je 0x40a9b6
mov eax, dword [esi + 0x30]
push ebx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
movzx ebx, ax
mov edi, dword [esi + 0x28]
cmp dword [edi + 0x18], 0
jne 0x40a9d9
push 0x20
call fcn.0043fb3f
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 0x18]
movzx edx, bx
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.0040a6c0
mov ecx, esi
call fcn.0040cde0
cmp dword [esi + 0x4c], 0x5d
jne 0x40ac6c
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40aa55
cmp word [eax], 0x5c
jne 0x40aa52
add eax, 2
cmp eax, ecx
je 0x40aa4a
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40aa34
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x40aa46
cmp ecx, 0x29
je 0x40aa46
test dl, 0x10
jne 0x40aa4a
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40aa46
cmp ecx, 0x7d
jne 0x40aa4a
mov cl, 1
jmp 0x40aa4c
xor cl, cl
test cl, cl
je 0x40aa52
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004091b0
jmp 0x40ac49
cmp eax, 0x28
jne 0x40abd1
mov ecx, esi
call fcn.0040a6c0
inc dword [esi + 0x10]
mov eax, dword [esi + 0x50]
test eax, 0x8000000
jne 0x40aa88
cmp dword [esi + 0x4c], 0x29
je 0x40ac65
test al, 0x20
je 0x40aaf9
cmp dword [esi + 0x4c], 0x3f
jne 0x40aaf9
mov ecx, esi
call fcn.0040a6c0
mov edi, dword [esi + 0x4c]
mov ecx, esi
call fcn.0040a6c0
cmp edi, 0x3a
jne 0x40aac8
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0040acd0
mov ecx, esi
mov edi, eax
call fcn.00409360
push edi
mov ecx, ebx
call fcn.004095e0
jmp 0x40ab65
cmp edi, 0x21
jne 0x40aae0
push 1
mov ecx, esi
call fcn.0040d350
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40ab6a
cmp edi, 0x3d
jne 0x40ac73
push 0
mov ecx, esi
call fcn.0040d350
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40ab6a
test dword [esi + 0x40], 0x200
je 0x40ab1f
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0040acd0
mov ecx, esi
mov edi, eax
call fcn.00409360
push edi
mov ecx, ebx
call fcn.004095e0
jmp 0x40ab65
inc dword [esi + 0xc]
lea ecx, [esi + 0x24]
push dword [esi + 0xc]
call fcn.00409670
mov ecx, esi
mov ebx, eax
call fcn.00409360
push ebx
lea ecx, [esi + 0x24]
call fcn.004095e0
mov eax, dword [esi + 0xc]
push ecx
inc eax
lea ecx, [esi + 0x14]
push eax
call fcn.00409eb0
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x14]
and edx, 0x1f
shr eax, 5
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
dec dword [esi + 0x10]
mov bl, 1
cmp dword [esi + 0x4c], 0x29
jne 0x40ac65
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40abc0
cmp word [eax], 0x5c
jne 0x40abbd
add eax, 2
cmp eax, ecx
je 0x40abb5
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40ab9f
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x40abb1
cmp ecx, 0x29
je 0x40abb1
test dl, 0x10
jne 0x40abb5
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x40abb1
cmp ecx, 0x7d
jne 0x40abb5
mov cl, 1
jmp 0x40abb7
xor cl, cl
test cl, cl
je 0x40abbd
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004091b0
test bl, bl
je 0x40ac50
jmp 0x40ac49
cmp eax, 0x5e
jne 0x40abeb
push 0x14
call fcn.0043fb3f
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x40a840
cmp eax, 0x24
jne 0x40ac05
push 0x14
call fcn.0043fb3f
mov ecx, eax
mov dword [ecx + 4], 3
jmp 0x40a840
cmp eax, 0x2a
je 0x40ac81
cmp eax, 0x2b
je 0x40ac81
cmp eax, 0x3f
je 0x40ac81
cmp eax, 0x7b
je 0x40ac81
cmp eax, 0x7d
jne 0x40ac27
test dword [esi + 0x50], 0x10000000
je 0x40ac7a
cmp eax, 0x5d
jne 0x40ac35
test dword [esi + 0x50], 0x10000000
je 0x40ac6c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040c480
mov ecx, esi
call fcn.0040a6c0
mov ecx, esi
call fcn.0040c340
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x40a730
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.004091a0
push 4
call fcn.004091a0
push 0xe
call fcn.004091a0
push 6
call fcn.004091a0
push 0xa
call fcn.004091a0
int3