Function at 0x10054250
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10054659
cmp eax, 0x7c
je 0x10054659
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x29
jne 0x10054294
cmp dword [esi + 0x10], 0
jne 0x10054657
test dword [esi + 0x50], 0x10000000
je 0x10054669
jmp 0x100545ec
cmp eax, 0x2e
jne 0x100542f4
push 5
lea ecx, [esi + 0x24]
call fcn.10056910
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10054633
cmp byte [eax], 0x5c
jne 0x100542ec
lea edx, [eax + 1]
cmp edx, ecx
je 0x100542ec
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100542d6
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x100542e9
cmp byte [ebp - 1], 0x29
je 0x100542e9
test bl, 0x10
jne 0x100542ec
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100542e9
cmp dl, 0x7d
jne 0x100542ec
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x10054633
cmp eax, 0x5c
jne 0x1005443f
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10054345
cmp byte [eax], 0x5c
jne 0x10054342
lea edx, [eax + 1]
cmp edx, ecx
je 0x10054342
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1005432c
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x1005433f
cmp byte [ebp - 1], 0x29
je 0x1005433f
test bl, 0x10
jne 0x10054342
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1005433f
cmp dl, 0x7d
jne 0x10054342
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10056e30
test byte [esi + 0x50], 0x80
je 0x10054433
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x100543b9
push 4
lea ecx, [esi + 0x24]
call fcn.10056910
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100543ad
cmp byte [eax], 0x5c
jne 0x100543aa
lea edx, [eax + 1]
cmp edx, ecx
je 0x100543aa
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10054394
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x100543a7
cmp bl, 0x29
je 0x100543a7
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x100543aa
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100543a7
cmp dl, 0x7d
jne 0x100543aa
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10056e30
jmp 0x10054644
cmp al, 0x42
jne 0x10054433
push 4
lea ecx, [esi + 0x24]
call fcn.10056910
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov edx, dword [edi]
mov eax, dword [esi]
cmp eax, edx
je 0x10054427
cmp byte [eax], 0x5c
jne 0x10054424
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10054422
test byte [esi + 0x50], 8
jne 0x100543fa
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10054410
cmp cl, 0x29
je 0x10054410
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10054422
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10054410
mov edx, ecx
cmp bl, 0x7d
jne 0x10054422
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10056e30
jmp 0x10054644
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10056e30
jmp 0x10054644
mov ecx, esi
call fcn.10054690
jmp 0x1005463a
cmp eax, 0x5b
jne 0x100544f8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10054495
cmp byte [eax], 0x5c
jne 0x10054492
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10054490
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10054476
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x1005448b
cmp cl, 0x29
je 0x1005448b
mov ecx, eax
test bl, 0x10
jne 0x10054490
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x1005448b
mov edx, ecx
cmp bl, 0x7d
jne 0x10054490
lea eax, [edx + 1]
jmp 0x10054492
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10056e30
lea ecx, [esi + 0x24]
call fcn.10053b00
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x100544bd
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10056980
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x100544db
cmp eax, 0x5d
jne 0x100544db
push eax
lea ecx, [esi + 0x24]
call fcn.10053a90
mov ecx, esi
call fcn.10056980
mov ecx, esi
call fcn.10054fd0
cmp dword [esi + 0x4c], 0x5d
jne 0x1005467b
mov ecx, esi
call fcn.10056980
jmp 0x1005463a
cmp eax, 0x28
jne 0x10054577
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10054549
cmp byte [eax], 0x5c
jne 0x10054546
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10054544
test byte [esi + 0x50], 8
jne 0x10054529
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x1005453f
cmp cl, 0x29
je 0x1005453f
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10054544
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x1005453f
mov edx, ecx
cmp bl, 0x7d
jne 0x10054544
lea eax, [edx + 1]
jmp 0x10054546
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10056e30
mov ecx, esi
call fcn.10057030
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10054669
mov ecx, esi
call fcn.10056980
test bl, bl
je 0x10054644
jmp 0x1005463a
cmp eax, 0x5e
jne 0x1005458b
push 2
lea ecx, [esi + 0x24]
call fcn.10056910
jmp 0x100543ce
cmp eax, 0x24
jne 0x100545a2
push 3
lea ecx, [esi + 0x24]
call fcn.10056910
lea edi, [esi + 8]
jmp 0x100543ce
cmp eax, 0x2a
je 0x10054660
cmp eax, 0x2b
je 0x10054660
cmp eax, 0x3f
je 0x10054660
cmp eax, 0x7b
je 0x10054660
cmp eax, 0x7d
jne 0x100545da
test dword [esi + 0x50], 0x10000000
je 0x10054672
jmp 0x100545ec
cmp eax, 0x5d
jne 0x100545ec
test dword [esi + 0x50], 0x10000000
je 0x1005467b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100538e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10054633
cmp byte [eax], 0x5c
jne 0x10054631
inc eax
cmp eax, ecx
je 0x10054631
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10054620
mov dl, byte [eax]
cmp dl, 0x28
je 0x1005462f
cmp dl, 0x29
je 0x1005462f
test cl, 0x10
jne 0x10054631
mov al, byte [eax]
cmp al, 0x7b
je 0x1005462f
cmp al, 0x7d
jne 0x10054631
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10056e30
mov ecx, esi
call fcn.100569e0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x10054657
cmp eax, 0x7c
jne 0x10054273
pop ebx
pop edi
mov al, cl
pop esi
mov esp, ebp
pop ebp
ret
push 0xa
mov ecx, esi
call fcn.10055e20
push 5
mov ecx, esi
call fcn.10055e20
push 6
mov ecx, esi
call fcn.10055e20
push 4
mov ecx, esi
call fcn.10055e20
int3