Function at 0x48262b
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, edx
mov dword [ebp - 0xc], esi
push edi
test ecx, ecx
je 0x48293a
test esi, esi
je 0x48293a
cmp ecx, esi
je 0x48293a
mov eax, dword [ebp + 0xc]
mov ebx, esi
mov dword [ebp - 0x28], ebx
xor edi, edi
and dword [ebp - 0x20], edi
add ebx, eax
and dword [ebp - 0x10], edi
xor edx, edx
mov dword [ebp - 0x24], ebx
inc edx
mov bl, byte [ecx]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0x40
test bl, bl
je 0x4827da
inc ecx
mov eax, edi
sub eax, dword [ebp + 0xc]
neg eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
sbb eax, eax
and edx, eax
mov dword [ebp - 8], edx
cmp bl, 0x3a
jne 0x482785
test byte [ebp - 4], 0x80
je 0x48270d
cmp dword [ebp - 0x10], 0
jne 0x48270d
test edx, edx
je 0x482707
mov ecx, esi
mov byte [esi], 0
sub ecx, edi
cmp ecx, dword [ebp - 0x28]
jb 0x48293a
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x48293a
sub eax, ecx
inc eax
push eax
push ecx
call dword [sym.imp.msvcrt.dll__strlwr_s]
pop ecx
pop ecx
mov ecx, eax
call fcn.004170b3
cmp edi, 4
jne 0x482704
push edi
lea eax, [esi - 4]
push eax
push 0x40fba4
call dword [sym.imp.msvcrt.dll_strncmp]
mov edx, dword [ebp - 8]
add esp, 0xc
test eax, eax
jne 0x482707
mov dword [ebp - 0x20], 1
jmp 0x482707
mov edx, dword [ebp - 8]
lea eax, [edi + 1]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov eax, ecx
and al, 0x82
cmp al, 0x80
jne 0x482741
cmp bl, 0x5c
jne 0x482829
cmp dword [ebp - 0x10], 0
jne 0x482730
test dword [ebp - 4], 0x100
je 0x482741
test edx, edx
je 0x482741
cmp dword [ebp - 0x20], 0
je 0x48273f
cmp edi, 7
jae 0x482741
mov bl, 0x2f
mov edx, dword [ebp - 4]
movzx ecx, bl
cmp ecx, 0x40
ja 0x48287b
cmp ecx, 0x3b
jae 0x48289b
cmp ecx, 0x20
je 0x48289b
cmp ecx, 0x21
jbe 0x482894
cmp ecx, 0x26
jbe 0x48289b
cmp ecx, 0x2a
jbe 0x482894
cmp ecx, 0x2c
jmp 0x482892
cmp bl, 0x25
jne 0x482804
test byte [ebp - 4], 4
je 0x48270d
mov cl, byte [ecx]
test cl, cl
je 0x4827d7
inc dword [ebp - 0x1c]
call fcn.00482506
mov bx, ax
shl bl, 4
test bl, bl
js 0x482933
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
test cl, cl
je 0x4827d7
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
call fcn.00482506
test al, al
js 0x482933
add bl, al
jne 0x48270d
xor edx, edx
mov eax, dword [ebp + 0xc]
test edx, edx
je 0x4827e5
cmp edi, eax
jae 0x4827e5
mov byte [esi], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4827f1
lea eax, [edi + 1]
mov dword [ecx], eax
lea eax, [edi + 1]
cmp dword [ebp + 0xc], eax
pop edi
sbb eax, eax
not eax
pop esi
and eax, edx
pop ebx
leave
ret 0xc
cmp bl, 0x3f
je 0x482812
cmp bl, 0x23
jne 0x48270d
mov ecx, dword [ebp - 4]
test cl, 0x20
je 0x482710
or ecx, 2
mov dword [ebp - 4], ecx
jmp 0x482710
cmp bl, 0x2e
jne 0x482741
mov edx, dword [ebp - 4]
test edi, edi
je 0x482744
test dl, 8
jne 0x482744
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push edx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 0xc]
call fcn.00482537
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x482873
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x482741
mov ecx, dword [ebp - 0x14]
jmp 0x482921
cmp ecx, 0x5b
jb 0x482894
cmp ecx, 0x5e
jbe 0x48289b
cmp ecx, 0x60
je 0x48289b
cmp ecx, 0x7a
jbe 0x482894
cmp bl, 0x7d
jbe 0x48289b
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x48290e
test dl, 2
jne 0x48290e
test dl, 0x10
je 0x4828aa
cmp bl, 0x20
jne 0x48290e
test dl, 8
je 0x4828b4
cmp bl, 0x2e
je 0x48290e
test dl, 0x40
jne 0x4828be
cmp bl, 0x25
je 0x48290e
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
cmp edi, eax
jae 0x4828cc
test bl, bl
jne 0x4828d3
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4828d6
mov eax, dword [ebp - 8]
test eax, eax
je 0x482909
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x4828e9
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x24]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call dword [sym.imp.msvcrt.dll__ultoa_s]
add esp, 0x10
mov ecx, eax
call fcn.004170b3
add esi, 3
mov dword [ebp - 0xc], esi
add edi, 2
jmp 0x48291a
cmp dword [ebp - 8], 0
je 0x48291a
mov byte [esi], bl
inc esi
mov dword [ebp - 0xc], esi
mov ecx, dword [ebp - 0x1c]
inc edi
mov dword [ebp - 0x18], edi
mov bl, byte [ecx]
mov edx, dword [ebp - 8]
test bl, bl
je 0x4827d7
jmp 0x48267f
xor edx, edx
jmp 0x4827e5
mov ecx, 0x80004005
call fcn.00417459
int3