Function at 0x45b451
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [esi]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
cmp byte [ecx], 0x28
jne 0x45b5be
cmp byte [ecx + 1], 0x3f
jne 0x45b49e
cmp byte [ecx + 2], 0x7c
jne 0x45b49e
lea eax, [ecx + 3]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x10], eax
jmp 0x45b5be
mov al, byte [ecx + 1]
cmp al, 0x3f
setne dl
cmp al, 0x2a
setne al
movzx eax, al
test edx, eax
je 0x45b4ce
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [esi], edx
cmp dword [ebp + 8], 0
jne 0x45b4c9
mov eax, dword [ebp + 0xc]
cmp edx, eax
je 0x45b779
lea eax, [ecx + 1]
jmp 0x45b520
cmp byte [ecx + 2], 0x28
lea eax, [ecx + 2]
jne 0x45b528
mov dword [ebp - 0x10], eax
cmp byte [eax + 1], 0x3f
je 0x45b5be
mov al, byte [ecx + 2]
test al, al
setne dl
cmp al, 0x29
setne al
movzx eax, al
test edx, eax
je 0x45b513
add ecx, 3
mov dword [ebp - 0x10], ecx
inc ecx
mov al, byte [ecx - 1]
test al, al
setne dl
cmp al, 0x29
setne al
movzx eax, al
test edx, eax
jne 0x45b4fb
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x45b76e
inc eax
mov dword [ebp - 0x10], eax
jmp 0x45b5be
mov dword [ebp - 0x10], eax
cmp byte [ecx + 2], 0x50
jne 0x45b537
lea eax, [ecx + 3]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0x3c
jne 0x45b54c
mov dl, byte [eax + 1]
cmp dl, 0x21
je 0x45b54c
cmp dl, 0x3d
jne 0x45b551
cmp byte [eax], 0x27
jne 0x45b5be
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [esi], edx
cmp dword [ebp + 8], 0
jne 0x45b568
mov eax, dword [ebp + 0xc]
cmp edx, eax
je 0x45b779
mov edx, dword [ebp - 0x10]
movzx ecx, byte [edx]
lea eax, [edx + 1]
cmp ecx, 0x3c
mov dword [ebp - 0x10], eax
jne 0x45b57b
mov cl, 0x3e
mov ebx, eax
movzx eax, byte [edx + 1]
cmp eax, ecx
je 0x45b594
add edx, 2
mov dword [ebp - 0x10], edx
inc edx
movzx eax, byte [edx - 1]
cmp eax, ecx
jne 0x45b588
cmp dword [ebp + 8], 0
je 0x45b5be
mov eax, dword [ebp - 0x10]
sub eax, ebx
cmp dword [ebp + 0xc], eax
jne 0x45b5be
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x45b5be
mov eax, dword [esi]
jmp 0x45b779
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x45b76e
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
cmp al, 0x5c
jne 0x45b616
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx + 1]
test al, al
je 0x45b76e
cmp al, 0x51
jne 0x45b75c
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 1]
mov dword [ebp - 0x10], ecx
mov dl, byte [eax + 1]
test dl, dl
je 0x45b76e
cmp dl, 0x5c
jne 0x45b5ec
add eax, 2
mov dword [ebp - 0x10], eax
cmp byte [ecx + 1], 0x45
jne 0x45b5ec
jmp 0x45b75c
xor edi, edi
cmp al, 0x5b
jne 0x45b6d5
mov ebx, dword [ebp - 0x10]
mov al, byte [ebx + 1]
cmp al, 0x5c
jne 0x45b64c
cmp byte [ebx + 2], 0x45
lea eax, [ebx + 2]
je 0x45b65b
push 3
push 0x64e9ec
push eax
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x45b660
lea eax, [ebx + 4]
jmp 0x45b65b
test edi, edi
jne 0x45b660
cmp al, 0x5e
jne 0x45b660
mov di, 1
lea eax, [ebx + 1]
mov dword [ebp - 0x10], eax
jmp 0x45b620
cmp byte [ebx + 1], 0x5d
jne 0x45b675
mov edx, dword [ebp - 0x18]
test byte [edx + 0x47], 2
jne 0x45b675
lea eax, [ebx + 1]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
cmp byte [edx + 1], 0x5d
je 0x45b75c
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
test al, al
je 0x45b776
cmp al, 0x5c
jne 0x45b675
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx + 1]
test al, al
je 0x45b76e
cmp al, 0x51
jne 0x45b675
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 1]
mov dword [ebp - 0x10], ecx
mov dl, byte [eax + 1]
test dl, dl
je 0x45b76e
cmp dl, 0x5c
jne 0x45b6ae
add eax, 2
mov dword [ebp - 0x10], eax
cmp byte [ecx + 1], 0x45
jne 0x45b6ae
jmp 0x45b675
cmp dword [ebp + 0x10], 0
je 0x45b6f5
cmp al, 0x23
jne 0x45b6f5
mov edx, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx + 1]
test al, al
je 0x45b76e
cmp al, 0xa
jne 0x45b6df
jmp 0x45b75c
mov al, byte [edx]
cmp al, 0x28
jne 0x45b721
push esi
mov edx, dword [ebp - 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.0045b451
add esp, 0x10
test eax, eax
jg 0x45b779
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x45b75c
jmp 0x45b76e
cmp al, 0x29
jne 0x45b73b
cmp dword [ebp - 0x24], 0
je 0x45b734
mov eax, dword [ebp - 0x20]
cmp dword [esi], eax
jge 0x45b734
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
jmp 0x45b776
cmp al, 0x7c
sete dl
xor eax, eax
cmp dword [ebp - 0x24], 0
setne al
test edx, eax
je 0x45b75c
mov eax, dword [esi]
cmp eax, dword [ebp - 0x20]
jle 0x45b757
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
mov dword [esi], edx
mov edx, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
cmp byte [edx + 1], 0
jmp 0x45b5c4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
or eax, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret