Function at 0x4b55f5
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
push ebx
push esi
mov ebx, dword [eax]
push edi
mov edi, edx
mov dword [ebp - 0x2c], ecx
mov ecx, edi
mov dword [ebp - 0xc], ebx
call fcn.0045c601
mov esi, eax
test bl, 0x40
jne 0x4b562a
cmp byte [0x10229b2e], 0
je 0x4b599a
cmp esi, 5
jl 0x4b599a
cmp dword [edi], 0x656c6966
jne 0x4b599a
cmp byte [edi + 4], 0x3a
jne 0x4b599a
and dword [ebp - 8], 0
lea eax, [esi + 2]
or ebx, 0x40
cdq
mov dword [ebp - 0xc], ebx
xor ecx, ecx
cmp byte [ecx + edi], 0x26
jne 0x4b5668
xor ebx, ebx
inc ebx
and dword [ebp - 0x18], 0
jmp 0x4b5679
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x28]
add eax, ebx
adc edx, dword [ebp - 0x18]
inc ecx
cmp ecx, esi
jl 0x4b5659
push edx
push eax
call fcn.00459e4f
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4b59ad
cmp byte [edi + 5], 0x2f
push 5
pop esi
jne 0x4b56ff
cmp byte [edi + 6], 0x2f
jne 0x4b56ff
lea ecx, [edi + 7]
mov al, byte [ecx]
mov dword [ebp - 0x24], ecx
push 7
pop esi
test al, al
je 0x4b56ff
cmp al, 0x2f
je 0x4b56c0
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4b56b4
cmp esi, 7
je 0x4b56ff
cmp esi, 0x10
jne 0x4b56e1
push 9
push ecx
push 0x101ead3c
call fcn.0050dadd
add esp, 0xc
test eax, eax
je 0x4b56ff
mov ecx, dword [ebp - 0x24]
push ecx
lea eax, [esi - 7]
push eax
push 0x101ead48
mov dword [ebp - 0x14], 1
call fcn.0045bc27
add esp, 0xc
jmp 0x4b59f4
mov cl, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0x10], edx
test cl, cl
je 0x4b5845
cmp cl, 0x23
je 0x4b5836
inc esi
cmp cl, 0x25
jne 0x4b57bb
movzx eax, byte [esi + edi]
test byte [eax + 0x10151fc8], 8
je 0x4b57bb
movzx eax, byte [esi + edi + 1]
test byte [eax + 0x10151fc8], 8
je 0x4b57bb
mov dl, byte [esi + edi]
mov cl, byte [esi + edi + 1]
mov al, dl
sar al, 6
add esi, 2
and al, 1
movzx eax, al
imul eax, eax, 7
sub dl, al
mov al, cl
sar al, 6
and edx, 0xf
and al, 1
shl edx, 4
movzx eax, al
imul eax, eax, 7
sub cl, al
and ecx, 0xf
add ecx, edx
mov edx, dword [ebp - 0x10]
jne 0x4b5821
jmp 0x4b57b2
cmp al, 0x23
je 0x4b582b
test edx, edx
jne 0x4b5793
cmp al, 0x3f
je 0x4b582b
cmp edx, 1
jne 0x4b57a8
cmp al, 0x3d
je 0x4b582b
cmp al, 0x26
je 0x4b582b
cmp edx, 2
jne 0x4b57b1
cmp al, 0x26
je 0x4b582b
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4b577f
jmp 0x4b582b
cmp edx, 1
jne 0x4b5806
cmp cl, 0x26
je 0x4b57ca
cmp cl, 0x3d
jne 0x4b5821
mov eax, dword [ebp - 8]
cmp byte [ebx + eax - 1], 0
je 0x4b57f3
cmp cl, 0x26
jne 0x4b57fc
mov ecx, eax
mov byte [ebx + ecx], 0
inc ecx
mov dword [ebp - 8], ecx
mov eax, ecx
jmp 0x4b5802
cmp al, 0x23
je 0x4b582b
cmp byte [esi + edi - 1], 0x26
je 0x4b582b
inc esi
mov al, byte [esi + edi]
test al, al
jne 0x4b57e7
jmp 0x4b582b
push 2
pop edx
mov dword [ebp - 0x10], edx
xor cl, cl
jmp 0x4b5824
test edx, edx
jne 0x4b580f
cmp cl, 0x3f
je 0x4b5819
cmp edx, 2
jne 0x4b5821
cmp cl, 0x26
jne 0x4b5821
xor edx, edx
xor cl, cl
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov byte [ebx + eax], cl
inc eax
mov dword [ebp - 8], eax
mov cl, byte [esi + edi]
test cl, cl
jne 0x4b570f
mov eax, dword [ebp - 8]
cmp edx, 1
jne 0x4b5848
mov byte [ebx + eax], 0
inc eax
jmp 0x4b5848
mov eax, dword [ebp - 8]
mov ecx, ebx
mov word [ebx + eax], 0
call fcn.0045c601
lea esi, [ebx + 1]
add esi, eax
jmp 0x4b597a
mov ecx, esi
call fcn.0045c601
mov dword [ebp - 0x20], eax
lea edi, [eax + 1]
add edi, esi
mov ecx, edi
call fcn.0045c601
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp eax, 3
jne 0x4b58a2
mov eax, 0x6676
cmp ax, word [esi]
jne 0x4b5974
push 0x73
pop eax
cmp al, byte [esi + 2]
jne 0x4b5974
mov dword [ebp - 0x2c], edi
jmp 0x4b5974
cmp eax, 5
jne 0x4b58d6
mov eax, 0x68636163
cmp eax, dword [esi]
jne 0x4b5974
push 0x65
pop eax
cmp al, byte [esi + 4]
jne 0x4b5974
mov ecx, 0x60000
mov dword [ebp - 0x18], 0x101ead6c
mov eax, 0x1024dd5c
mov dword [ebp - 0x20], ecx
jmp 0x4b5904
cmp eax, 4
jne 0x4b5974
cmp dword [esi], 0x65646f6d
jne 0x4b5974
mov edx, dword [ebp - 0xc]
mov ecx, 0x87
and edx, ecx
mov dword [ebp - 0x18], 0x101ead84
mov eax, 0x1024dd2c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, dword [eax]
xor ecx, ecx
jmp 0x4b5938
mov ecx, eax
call fcn.0045c601
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jne 0x4b592e
push ecx
push dword [ebp - 0x1c]
push edi
call fcn.0050dadd
add esp, 0xc
test eax, eax
je 0x4b5950
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
inc ecx
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], ecx
test eax, eax
jne 0x4b590f
push edi
push dword [ebp - 0x18]
push 0x101eada8
jmp 0x4b56eb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [eax + ecx*8 + 4]
test ecx, ecx
je 0x4b5942
mov eax, ecx
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x20]
jg 0x4b5985
not esi
and esi, dword [ebp - 0xc]
or esi, ecx
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x24]
inc esi
add esi, edi
cmp byte [esi], 0
jne 0x4b585f
jmp 0x4b59cb
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 3
push 0x101ead90
jmp 0x4b56f2
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.00459e4f
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x4b59b2
push 7
pop eax
jmp 0x4b5a12
test esi, esi
je 0x4b59c1
push esi
push edi
push ebx
call fcn.0050d340
add esp, 0xc
and dword [ebp - 0xc], 0xffffffbf
mov word [ebx + esi], 0
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0045979b
pop ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test ecx, ecx
jne 0x4b5a02
push esi
push 0x101eadc4
mov dword [ebp - 0x14], 1
call fcn.0045bc27
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [ecx], eax
call fcn.00459ec7
pop ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [ecx], ebx
pop edi
pop esi
pop ebx
leave
ret