Function at 0x408cd0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4090e3
push ebx
push edi
cmp eax, 0x7c
je 0x4090e1
cmp eax, 0x29
jne 0x408d08
cmp dword [esi + 0x10], 0
jne 0x4090e1
test dword [esi + 0x50], 0x10000000
je 0x4090ee
cmp eax, 0x2e
jne 0x408dbd
push 0x14
call fcn.0044c480
mov ecx, eax
add esp, 4
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 edx, dword [eax + 0xc]
test edx, edx
je 0x408d5e
mov dword [ecx + 0xc], edx
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 edx, dword [esi + 8]
cmp eax, edx
je 0x408db1
cmp word [eax], 0x5c
jne 0x408dac
lea ecx, [eax + 2]
cmp ecx, edx
je 0x408da5
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x408d8f
movzx edi, word [ecx]
cmp edi, 0x28
je 0x408da1
cmp edi, 0x29
je 0x408da1
test dl, 0x10
jne 0x408da5
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x408da1
cmp edx, 0x7d
jne 0x408da5
mov dl, 1
jmp 0x408da7
xor dl, dl
test dl, dl
cmovne eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.004073b0
jmp 0x4090cc
cmp eax, 0x5c
jne 0x408eb9
mov ecx, esi
call fcn.00408c80
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x408e3d
cmp word [esi + 0x48], 0x62
jne 0x408e3d
push 0x14
call fcn.0044c480
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 edx, dword [eax + 0xc]
test edx, edx
je 0x408e2b
mov dword [ecx + 0xc], edx
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.00408c80
jmp 0x4090d3
test eax, eax
je 0x408ead
cmp word [esi + 0x48], 0x42
jne 0x408ead
push 0x14
call fcn.0044c480
mov ecx, eax
add esp, 4
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 edx, dword [eax + 0xc]
test edx, edx
je 0x408e95
mov dword [ecx + 0xc], edx
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.00408c80
jmp 0x4090d3
mov ecx, esi
call fcn.0040ae90
jmp 0x4090cc
cmp eax, 0x5b
jne 0x408f6d
mov ecx, esi
call fcn.00408c80
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0040d410
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x408f39
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x408f2f
cmp word [eax], 0x5c
jne 0x408f2a
lea ecx, [eax + 2]
cmp ecx, edx
je 0x408f23
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x408f0d
movzx edi, word [ecx]
cmp edi, 0x28
je 0x408f1f
cmp edi, 0x29
je 0x408f1f
test dl, 0x10
jne 0x408f23
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x408f1f
cmp edx, 0x7d
jne 0x408f23
mov dl, 1
jmp 0x408f25
xor dl, dl
test dl, dl
cmovne eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.004073b0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x408f56
cmp eax, 0x5d
jne 0x408f56
push eax
mov ecx, ebx
call fcn.0040d490
mov ecx, esi
call fcn.00408c80
mov ecx, esi
call fcn.0040cd00
push 4
push 0x5d
mov ecx, esi
call fcn.0040ad90
jmp 0x4090cc
cmp eax, 0x28
jne 0x409054
mov ecx, esi
call fcn.00408c80
inc dword [esi + 0x10]
mov eax, dword [esi + 0x50]
test eax, 0x8000000
jne 0x408f94
cmp dword [esi + 0x4c], 0x29
je 0x4090ee
test al, 0x20
je 0x408fe2
cmp dword [esi + 0x4c], 0x3f
jne 0x408fe2
mov ecx, esi
call fcn.00408c80
mov edi, dword [esi + 0x4c]
mov ecx, esi
call fcn.00408c80
cmp edi, 0x3a
je 0x408feb
cmp edi, 0x21
jne 0x408fc9
push 1
mov ecx, esi
call fcn.0040d3e0
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40903f
cmp edi, 0x3d
jne 0x4090f5
push 0
mov ecx, esi
call fcn.0040d3e0
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40903f
test dword [esi + 0x40], 0x200
je 0x408ff4
mov ecx, esi
call fcn.0040d370
jmp 0x40903a
inc dword [esi + 0xc]
lea ecx, [esi + 0x24]
push dword [esi + 0xc]
call fcn.00407990
mov ecx, esi
mov ebx, eax
call fcn.00407560
push ebx
lea ecx, [esi + 0x24]
call fcn.00407900
mov eax, dword [esi + 0xc]
push ecx
inc eax
lea ecx, [esi + 0x14]
push eax
call fcn.00408130
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
push 5
push 0x29
mov ecx, esi
call fcn.0040ad90
test bl, bl
je 0x4090d3
jmp 0x4090cc
cmp eax, 0x5e
jne 0x40906e
push 0x14
call fcn.0044c480
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x408dee
cmp eax, 0x24
jne 0x409088
push 0x14
call fcn.0044c480
mov ecx, eax
mov dword [ecx + 4], 3
jmp 0x408dee
cmp eax, 0x2a
je 0x4090e7
cmp eax, 0x2b
je 0x4090e7
cmp eax, 0x3f
je 0x4090e7
cmp eax, 0x7b
je 0x4090e7
cmp eax, 0x7d
jne 0x4090aa
test dword [esi + 0x50], 0x10000000
je 0x4090fc
cmp eax, 0x5d
jne 0x4090b8
test dword [esi + 0x50], 0x10000000
je 0x409103
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040b3e0
mov ecx, esi
call fcn.00408c80
mov ecx, esi
call fcn.0040b0a0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x408ce3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
call fcn.004073a0
push 5
call fcn.004073a0
push 0xe
call fcn.004073a0
push 6
call fcn.004073a0
push 4
call fcn.004073a0
int3