Function at 0x10054620
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 0x10054b0f
cmp ecx, 0x7c
je 0x10054b0f
cmp ecx, 0x29
jne 0x10054668
cmp dword [esi + 0x10], 0
jne 0x10054b0f
cmp ecx, ecx
jne 0x10054668
test dword [esi + 0x50], 0x10000000
lea edi, [esi + 0x50]
je 0x10054b1d
jmp 0x10054a87
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x10054712
push 0x14
call fcn.101d9536
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 0x100546c1
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 0x10054af3
cmp byte [eax], 0x5c
jne 0x1005470a
lea ecx, [eax + 1]
cmp ecx, edx
je 0x1005470a
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x100546f7
mov al, byte [ecx]
cmp al, 0x28
je 0x10054708
cmp al, 0x29
je 0x10054708
mov eax, dword [esi]
test dl, 0x10
jne 0x1005470a
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x10054708
cmp dl, 0x7d
jne 0x1005470a
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x10054af3
cmp ecx, 0x5c
jne 0x10054892
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10054759
cmp byte [eax], cl
jne 0x10054756
lea ecx, [eax + 1]
cmp ecx, edx
je 0x10054756
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10054743
mov al, byte [ecx]
cmp al, 0x28
je 0x10054754
cmp al, 0x29
je 0x10054754
mov eax, dword [esi]
test dl, 0x10
jne 0x10054756
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x10054754
cmp dl, 0x7d
jne 0x10054756
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10053810
mov eax, dword [edi]
and eax, 0x80
je 0x1005481b
cmp byte [esi + 0x48], 0x62
jne 0x1005481b
push 0x14
call fcn.101d9536
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 0x100547c4
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 0x10054a57
cmp byte [eax], 0x5c
jne 0x1005480c
lea ecx, [eax + 1]
cmp ecx, edx
je 0x1005480c
mov edx, dword [edi]
test dl, 8
jne 0x100547f9
mov al, byte [ecx]
cmp al, 0x28
je 0x1005480a
cmp al, 0x29
je 0x1005480a
mov eax, dword [esi]
test dl, 0x10
jne 0x1005480c
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x1005480a
cmp dl, 0x7d
jne 0x1005480c
mov eax, ecx
inc eax
mov ecx, esi
mov dword [esi], eax
call fcn.10053810
jmp 0x10054b01
test eax, eax
je 0x10054886
cmp byte [esi + 0x48], 0x42
jne 0x10054886
push 0x14
call fcn.101d9536
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 0x10054872
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 0x10054a1c
mov ecx, esi
call fcn.10055160
jmp 0x10054afa
cmp ecx, 0x5b
jne 0x10054938
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x100548d6
cmp byte [eax], 0x5c
jne 0x100548d4
inc eax
cmp eax, ecx
je 0x100548d4
mov ecx, dword [edi]
test cl, 8
jne 0x100548c1
mov dl, byte [eax]
cmp dl, 0x28
je 0x100548d2
cmp dl, 0x29
je 0x100548d2
test cl, 0x10
jne 0x100548d4
mov cl, byte [eax]
cmp cl, 0x7b
je 0x100548d2
cmp cl, 0x7d
jne 0x100548d4
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.10053810
lea ecx, [esi + 0x24]
call fcn.100569f0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x100548fe
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.100545c0
mov eax, dword [esi + 0x4c]
test dword [edi], 0x20000000
je 0x1005491b
cmp eax, 0x5d
jne 0x1005491b
push eax
lea ecx, [esi + 0x24]
call fcn.10056a80
mov ecx, esi
call fcn.100545c0
mov ecx, esi
call fcn.10056500
cmp dword [esi + 0x4c], 0x5d
jne 0x10054b2b
mov ecx, esi
call fcn.100545c0
jmp 0x10054afa
cmp ecx, 0x28
jne 0x100549a6
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10054978
cmp byte [eax], 0x5c
jne 0x10054976
inc eax
cmp eax, ecx
je 0x10054976
mov edx, dword [edi]
test dl, 8
jne 0x10054963
mov cl, byte [eax]
cmp cl, 0x28
je 0x10054974
cmp cl, 0x29
je 0x10054974
test dl, 0x10
jne 0x10054976
mov cl, byte [eax]
cmp cl, 0x7b
je 0x10054974
cmp cl, 0x7d
jne 0x10054976
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.10053810
mov ecx, esi
call fcn.100552b0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10054b1d
mov ecx, esi
call fcn.100545c0
test bl, bl
je 0x10054b01
jmp 0x10054afa
cmp ecx, 0x5e
jne 0x100549bd
push 0x14
call fcn.101d9536
mov ecx, eax
mov dword [ecx + 4], 2
jmp 0x100549d6
cmp ecx, 0x24
jne 0x10054a63
push 0x14
call fcn.101d9536
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 0x10054a13
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 0x10054a57
cmp byte [eax], 0x5c
jne 0x10054a55
inc eax
cmp eax, ecx
je 0x10054a55
mov edx, dword [edi]
test dl, 8
jne 0x10054a42
mov cl, byte [eax]
cmp cl, 0x28
je 0x10054a53
cmp cl, 0x29
je 0x10054a53
test dl, 0x10
jne 0x10054a55
mov cl, byte [eax]
cmp cl, 0x7b
je 0x10054a53
cmp cl, 0x7d
jne 0x10054a55
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.10053810
jmp 0x10054b01
cmp ecx, 0x2a
je 0x10054b16
cmp ecx, 0x2b
je 0x10054b16
cmp ecx, 0x3f
je 0x10054b16
cmp ecx, 0x7b
je 0x10054b16
cmp ecx, 0x7d
jne 0x10054a9a
test dword [edi], 0x10000000
je 0x10054b24
jmp 0x10054aab
cmp ecx, 0x5d
jne 0x10054aab
test dword [edi], 0x10000000
je 0x10054b2b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10055500
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10054af3
cmp byte [eax], 0x5c
jne 0x10054af1
inc eax
cmp eax, ecx
je 0x10054af1
mov edx, dword [edi]
test dl, 8
jne 0x10054ade
mov cl, byte [eax]
cmp cl, 0x28
je 0x10054aef
cmp cl, 0x29
je 0x10054aef
test dl, 0x10
jne 0x10054af1
mov cl, byte [eax]
cmp cl, 0x7b
je 0x10054aef
cmp cl, 0x7d
jne 0x10054af1
mov dword [esi], eax
inc dword [esi]
mov ecx, esi
call fcn.10053810
mov ecx, esi
call fcn.100553b0
mov ecx, dword [esi + 0x4c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x10054637
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.10053800
push 5
call fcn.10053800
push 6
call fcn.10053800
push 4
call fcn.10053800
int3