Function at 0x49e072
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi]
mov esi, eax
mov dword [ebp - 4], ecx
cmp byte [ecx], 0x28
mov dword [ebp - 0xc], esi
mov dword [ebp + 0x1c], esi
mov dword [ebp - 8], 0
jne 0x49e19d
mov dl, byte [ecx + 1]
cmp dl, 0x3f
jne 0x49e36c
cmp byte [ecx + 2], 0x7c
jne 0x49e363
add ecx, 3
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 1
jmp 0x49e19d
cmp byte [ecx + 2], 0x28
jne 0x49e10f
add ecx, 2
mov dword [ebp - 4], ecx
cmp byte [ecx + 1], 0x3f
je 0x49e19d
mov al, byte [ecx]
test al, al
je 0x49e0f2
cmp al, 0x29
je 0x49e101
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
test al, al
jne 0x49e0e4
mov edx, dword [ebp + 8]
pop edi
pop esi
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ecx], 0
je 0x49e0f2
inc ecx
mov dword [ebp - 4], ecx
jmp 0x49e19d
add ecx, 2
mov dword [ebp - 4], ecx
cmp byte [ecx], 0x50
jne 0x49e11e
inc ecx
mov dword [ebp - 4], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x49e132
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x49e132
cmp bl, 0x3d
jne 0x49e137
cmp dl, 0x27
jne 0x49e19d
inc eax
cmp dword [ebp + 0x10], 0
mov dword [edi], eax
jne 0x49e149
cmp eax, dword [ebp + 0x14]
je 0x49e38b
movzx eax, byte [ecx]
inc ecx
mov dword [ebp - 4], ecx
cmp eax, 0x3c
jne 0x49e15a
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x49e16e
inc ecx
mov dword [ebp - 4], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x49e163
cmp dword [ebp + 0x10], 0
je 0x49e19d
mov eax, dword [ebp + 0x14]
mov ebx, ecx
sub ebx, edx
cmp eax, ebx
jne 0x49e19d
mov ecx, dword [ebp + 0x10]
push eax
push edx
push ecx
call fcn.00485421
add esp, 0xc
test eax, eax
jne 0x49e19a
mov eax, dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ecx]
test al, al
je 0x49e0f2
mov ebx, dword [ebp + 0xc]
mov edx, esi
jmp 0x49e1b8
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0xc]
cmp al, 0x5c
jne 0x49e1fa
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
test al, al
je 0x49e0f2
cmp al, 0x51
jne 0x49e32b
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
test al, al
je 0x49e0f2
cmp al, 0x5c
jne 0x49e1d2
test al, al
je 0x49e0f2
inc ecx
mov dword [ebp - 4], ecx
cmp byte [ecx], 0x45
jne 0x49e1d2
jmp 0x49e32b
cmp al, 0x5b
jne 0x49e2b5
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x49e237
add ecx, 2
cmp byte [ecx], 0x45
jne 0x49e218
mov dword [ebp - 4], ecx
jmp 0x49e204
push 3
push 0x487b5c
push ecx
call fcn.00485421
mov ecx, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x49e24a
add ecx, 4
mov dword [ebp - 4], ecx
jmp 0x49e204
test esi, esi
jne 0x49e24a
cmp al, 0x5e
jne 0x49e24a
inc ecx
mov esi, 1
mov dword [ebp - 4], ecx
jmp 0x49e204
cmp byte [ecx + 1], 0x5d
jne 0x49e25a
test dword [ebx + 0x44], 0x2000000
jne 0x49e25a
inc ecx
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x49e32b
test al, al
je 0x49e359
cmp al, 0x5c
jne 0x49e2a9
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
test al, al
je 0x49e0f2
cmp al, 0x51
jne 0x49e2a9
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
test al, al
je 0x49e0f2
cmp al, 0x5c
jne 0x49e286
test al, al
je 0x49e0f2
inc ecx
mov dword [ebp - 4], ecx
cmp byte [ecx], 0x45
jne 0x49e286
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x49e268
jmp 0x49e32b
cmp dword [ebp + 0x18], 0
je 0x49e2de
cmp al, 0x23
jne 0x49e2de
lea ecx, [ecx]
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
test al, al
je 0x49e0f2
cmp al, 0xa
jne 0x49e2c2
test al, al
je 0x49e0f2
jmp 0x49e32b
cmp al, 0x28
jne 0x49e312
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edi
push edx
push eax
push ecx
lea edx, [ebp - 4]
push ebx
push edx
call fcn.0049e072
add esp, 0x18
test eax, eax
jg 0x49e38b
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0
je 0x49e0f2
jmp 0x49e32b
cmp al, 0x29
je 0x49e348
cmp al, 0x7c
jne 0x49e32b
cmp dword [ebp - 8], 0
je 0x49e32b
mov eax, dword [edi]
cmp eax, edx
jle 0x49e329
mov dword [ebp + 0x1c], eax
mov dword [edi], esi
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [ecx]
test al, al
jne 0x49e1b2
mov edx, dword [ebp + 8]
pop edi
pop esi
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
je 0x49e354
cmp dword [edi], edx
jge 0x49e354
mov dword [edi], edx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
cmp dl, 0x3f
je 0x49e0c8
cmp dl, 0x2a
je 0x49e0c8
inc eax
cmp dword [ebp + 0x10], 0
mov dword [edi], eax
jne 0x49e106
cmp eax, dword [ebp + 0x14]
jne 0x49e106
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret