Function at 0x10005c50
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor al, al
push edi
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x10005d0e
cmp ecx, 0x7c
je 0x10005d0e
cmp ecx, 0x29
jne 0x10005d15
cmp dword [esi + 0x10], 0
jne 0x10005d0e
cmp ecx, ecx
jne 0x10005d15
test dword [esi + 0x50], 0x10000000
je 0x10006189
lea edi, [esi + 0x50]
cmp ecx, 0x5d
jne 0x10005cac
test dword [edi], 0x10000000
je 0x10006190
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10007390
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10005cf2
cmp byte [eax], 0x5c
jne 0x10005cf0
inc eax
cmp eax, ecx
je 0x10005cf0
mov edx, dword [edi]
test dl, 8
jne 0x10005cdf
mov cl, byte [eax]
cmp cl, 0x28
je 0x10005cee
cmp cl, 0x29
je 0x10005cee
test dl, 0x10
jne 0x10005cf0
mov al, byte [eax]
cmp al, 0x7b
je 0x10005cee
cmp al, 0x7d
jne 0x10005cf0
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.100049a0
mov ecx, esi
call fcn.10007240
mov ecx, dword [esi + 0x4c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x10005c67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x2e
jne 0x10005dd1
push 0x14
call fcn.100daa1b
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 0x10005d6b
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 edx, dword [esi + 8]
cmp eax, edx
je 0x10005cf2
cmp byte [eax], 0x5c
jne 0x10005dc9
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10005dc7
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10005da7
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10005dbc
cmp cl, 0x29
je 0x10005dbc
mov ecx, eax
test bl, 0x10
jne 0x10005dc7
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10005dbc
mov edx, ecx
cmp bl, 0x7d
jne 0x10005dc7
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x10005cf2
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x10005cf2
cmp ecx, 0x5c
jne 0x10005f7e
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10005e27
cmp byte [eax], cl
jne 0x10005e24
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10005e22
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10005e08
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10005e1d
cmp cl, 0x29
je 0x10005e1d
mov ecx, eax
test bl, 0x10
jne 0x10005e22
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10005e1d
mov edx, ecx
cmp bl, 0x7d
jne 0x10005e22
lea eax, [edx + 1]
jmp 0x10005e24
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.100049a0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x10005f07
cmp byte [esi + 0x48], 0x62
jne 0x10005f07
push 0x14
call fcn.100daa1b
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 0x10005e93
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 edx, dword [esi + 8]
cmp eax, edx
je 0x10006141
cmp byte [eax], 0x5c
jne 0x10005ef8
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10005ef6
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10005ecf
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x10005ee4
cmp cl, 0x29
je 0x10005ee4
mov ecx, eax
test bl, 0x10
jne 0x10005ef6
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x10005ee4
mov edx, ecx
cmp bl, 0x7d
jne 0x10005ef6
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.100049a0
jmp 0x10005d00
mov eax, ecx
inc eax
mov ecx, esi
mov dword [esi], eax
call fcn.100049a0
jmp 0x10005d00
test eax, eax
je 0x10005f72
cmp byte [esi + 0x48], 0x42
jne 0x10005f72
push 0x14
call fcn.100daa1b
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 0x10005f5e
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
xor dword [eax + 8], 1
jmp 0x10006107
mov ecx, esi
call fcn.10006ff0
jmp 0x10005cf9
cmp ecx, 0x5b
jne 0x10006024
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10005fc1
cmp byte [eax], 0x5c
jne 0x10005fbf
inc eax
cmp eax, ecx
je 0x10005fbf
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10005fae
mov cl, byte [eax]
cmp cl, 0x28
je 0x10005fbd
cmp cl, 0x29
je 0x10005fbd
test dl, 0x10
jne 0x10005fbf
mov al, byte [eax]
cmp al, 0x7b
je 0x10005fbd
cmp al, 0x7d
jne 0x10005fbf
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.100049a0
lea ecx, [esi + 0x24]
call fcn.10008570
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10005fe9
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10005bf0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10006007
cmp eax, 0x5d
jne 0x10006007
push eax
lea ecx, [esi + 0x24]
call fcn.10008600
mov ecx, esi
call fcn.10005bf0
mov ecx, esi
call fcn.10008050
cmp dword [esi + 0x4c], 0x5d
jne 0x10006190
mov ecx, esi
call fcn.10005bf0
jmp 0x10005cf9
cmp ecx, 0x28
jne 0x10006091
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10006063
cmp byte [eax], 0x5c
jne 0x10006061
inc eax
cmp eax, ecx
je 0x10006061
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10006050
mov dl, byte [eax]
cmp dl, 0x28
je 0x1000605f
cmp dl, 0x29
je 0x1000605f
test cl, 0x10
jne 0x10006061
mov al, byte [eax]
cmp al, 0x7b
je 0x1000605f
cmp al, 0x7d
jne 0x10006061
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.100049a0
mov ecx, esi
call fcn.10007140
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10006189
mov ecx, esi
call fcn.10005bf0
test bl, bl
je 0x10005d00
jmp 0x10005cf9
cmp ecx, 0x5e
jne 0x100060a8
push 0x14
call fcn.100daa1b
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x100060c1
cmp ecx, 0x24
jne 0x1000614d
push 0x14
call fcn.100daa1b
mov ecx, eax
mov dword [ecx + 4], 3
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 0x100060fe
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, dword [esi + 8]
mov eax, dword [esi]
cmp eax, ecx
je 0x10006141
cmp byte [eax], 0x5c
jne 0x1000613f
inc eax
cmp eax, ecx
je 0x1000613f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1000612e
mov dl, byte [eax]
cmp dl, 0x28
je 0x1000613d
cmp dl, 0x29
je 0x1000613d
test cl, 0x10
jne 0x1000613f
mov al, byte [eax]
cmp al, 0x7b
je 0x1000613d
cmp al, 0x7d
jne 0x1000613f
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.100049a0
jmp 0x10005d00
cmp ecx, 0x2a
je 0x1000617b
cmp ecx, 0x2b
je 0x1000617b
cmp ecx, 0x3f
je 0x1000617b
cmp ecx, 0x7b
je 0x1000617b
cmp ecx, 0x7d
jne 0x10005c98
test dword [esi + 0x50], 0x10000000
lea edi, [esi + 0x50]
je 0x10006182
jmp 0x10005cac
push 0xa
call fcn.10004990
push 6
call fcn.10004990
push 5
call fcn.10004990
push 4
call fcn.10004990
int3