Function at 0x40be80
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
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40c2ab
cmp eax, 0x7c
je 0x40c2ab
cmp eax, 0x29
jne 0x40bebc
cmp dword [esi + 0x10], 0
jne 0x40c2ab
test dword [esi + 0x50], 0x10000000
je 0x40c2bb
cmp eax, 0x2e
jne 0x40bf1c
push 0x14
call fcn.00415035
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 edx, dword [eax + 0xc]
test edx, edx
je 0x40bf11
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
jmp 0x40c088
cmp eax, 0x5c
jne 0x40c06b
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40bf72
cmp word [eax], 0x5c
jne 0x40bf6d
lea ecx, [eax + 2]
cmp ecx, edx
je 0x40bf66
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40bf50
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40bf62
cmp edi, 0x29
je 0x40bf62
test dl, 0x10
jne 0x40bf66
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x40bf62
cmp edx, 0x7d
jne 0x40bf66
mov dl, 1
jmp 0x40bf68
xor dl, dl
test dl, dl
cmovne eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ac30
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40bfec
cmp word [esi + 0x48], 0x62
jne 0x40bfec
push 0x14
call fcn.00415035
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 edx, dword [eax + 0xc]
test edx, edx
je 0x40bfda
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.0040be20
jmp 0x40c29d
test eax, eax
je 0x40c05f
cmp word [esi + 0x48], 0x42
jne 0x40c05f
push 0x14
call fcn.00415035
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 edx, dword [eax + 0xc]
test edx, edx
je 0x40c047
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.0040be20
jmp 0x40c29d
mov ecx, esi
call fcn.0040cf20
jmp 0x40c296
cmp eax, 0x5b
jne 0x40c0e1
mov ecx, esi
call fcn.0040be20
mov ecx, esi
call fcn.0040ce30
cmp dword [esi + 0x4c], 0x5d
jne 0x40c2c2
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40c0d5
cmp word [eax], 0x5c
jne 0x40c0d0
lea ecx, [eax + 2]
cmp ecx, edx
je 0x40c0c9
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c0b3
movzx edi, word [ecx]
cmp edi, 0x28
je 0x40c0c5
cmp edi, 0x29
je 0x40c0c5
test dl, 0x10
jne 0x40c0c9
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x40c0c5
cmp edx, 0x7d
jne 0x40c0c9
mov dl, 1
jmp 0x40c0cb
xor dl, dl
test dl, dl
cmovne eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ac30
jmp 0x40c296
cmp eax, 0x28
jne 0x40c21e
mov ecx, esi
call fcn.0040be20
inc dword [esi + 0x10]
mov eax, dword [esi + 0x50]
test eax, 0x8000000
jne 0x40c108
cmp dword [esi + 0x4c], 0x29
je 0x40c2bb
test al, 0x20
je 0x40c156
cmp dword [esi + 0x4c], 0x3f
jne 0x40c156
mov ecx, esi
call fcn.0040be20
mov edi, dword [esi + 0x4c]
mov ecx, esi
call fcn.0040be20
cmp edi, 0x3a
je 0x40c15f
cmp edi, 0x21
jne 0x40c13d
push 1
mov ecx, esi
call fcn.0040e4e0
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40c1b3
cmp edi, 0x3d
jne 0x40c2c9
push 0
mov ecx, esi
call fcn.0040e4e0
dec dword [esi + 0x10]
xor bl, bl
jmp 0x40c1b3
test dword [esi + 0x40], 0x200
je 0x40c168
mov ecx, esi
call fcn.0040e460
jmp 0x40c1ae
inc dword [esi + 0xc]
lea ecx, [esi + 0x24]
push dword [esi + 0xc]
call fcn.0040b140
mov ecx, esi
mov ebx, eax
call fcn.0040ade0
push ebx
lea ecx, [esi + 0x24]
call fcn.0040b0b0
mov eax, dword [esi + 0xc]
push ecx
inc eax
lea ecx, [esi + 0x14]
push eax
call fcn.0040b6d0
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 0x40c2bb
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c20d
cmp word [eax], 0x5c
jne 0x40c208
lea ecx, [eax + 2]
cmp ecx, edx
je 0x40c201
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c1eb
movzx edx, word [ecx]
cmp edx, 0x28
je 0x40c1fd
cmp edx, 0x29
je 0x40c1fd
mov edx, dword [esi + 0x50]
test dl, 0x10
jne 0x40c201
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x40c1fd
cmp edx, 0x7d
jne 0x40c201
mov dl, 1
jmp 0x40c203
xor dl, dl
test dl, dl
cmovne eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0040ac30
test bl, bl
je 0x40c29d
jmp 0x40c296
cmp eax, 0x5e
jne 0x40c238
push 0x14
call fcn.00415035
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x40bf9a
cmp eax, 0x24
jne 0x40c252
push 0x14
call fcn.00415035
mov ecx, eax
mov dword [ecx + 4], 3
jmp 0x40bf9a
cmp eax, 0x2a
je 0x40c2b4
cmp eax, 0x2b
je 0x40c2b4
cmp eax, 0x3f
je 0x40c2b4
cmp eax, 0x7b
je 0x40c2b4
cmp eax, 0x7d
jne 0x40c274
test dword [esi + 0x50], 0x10000000
je 0x40c2d0
cmp eax, 0x5d
jne 0x40c282
test dword [esi + 0x50], 0x10000000
je 0x40c2c2
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040d260
mov ecx, esi
call fcn.0040be20
mov ecx, esi
call fcn.0040d0b0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40be97
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0040ac20
push 5
call fcn.0040ac20
push 4
call fcn.0040ac20
push 0xe
call fcn.0040ac20
push 6
call fcn.0040ac20
int3