Function at 0x525478
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x5257eb
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + 1]
cmp al, 0x3f
jne 0x5254d3
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x7c
jne 0x5254d3
add dword [ebp - 0x10], 3
mov esi, 1
jmp 0x5257eb
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
cmp al, 0x3f
je 0x525502
cmp al, 0x2a
je 0x525502
inc dword [ebx]
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x5254fa
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jne 0x5254fa
mov eax, dword [ebx]
jmp 0x525803
inc dword [ebp - 0x10]
jmp 0x5257eb
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x28
jne 0x525547
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x3f
je 0x5257eb
jmp 0x525525
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x525532
cmp al, 0x29
jne 0x525522
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5257eb
inc dword [ebp - 0x10]
jmp 0x5257eb
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x50
jne 0x525558
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x3c
jne 0x525577
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x21
je 0x525577
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x3d
jne 0x52557f
cmp al, 0x27
jne 0x5257eb
inc dword [ebx]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x525598
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x525598
mov eax, dword [ebx]
jmp 0x525803
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
inc dword [ebp - 0x10]
cmp eax, 0x3c
jne 0x5255ac
mov eax, 0x3e
mov edx, dword [ebp - 0x10]
jmp 0x5255b4
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x5255b1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5257eb
mov eax, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x5257eb
mov eax, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.DLL_strncmp
add esp, 0xc
test eax, eax
jne 0x5257eb
mov eax, dword [ebx]
jmp 0x525803
cmp al, 0x5c
jne 0x525655
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5257f8
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x5257e8
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x525636
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x525620
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x5257f8
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x5257e8
jmp 0x525620
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5b
jne 0x52573c
xor edi, edi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x5256a1
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x45
jne 0x525683
inc dword [ebp - 0x10]
jmp 0x525665
push 3
push 0x588f75
mov eax, dword [ebp - 0x10]
inc eax
push eax
call sub.MSVCRT.DLL_strncmp
add esp, 0xc
test eax, eax
jne 0x5256b1
add dword [ebp - 0x10], 3
jmp 0x525665
test edi, edi
jne 0x5256b1
cmp eax, 0x5e
jne 0x5256b1
mov edi, 1
jmp 0x525665
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x5d
jne 0x52572a
mov ecx, dword [ebp - 8]
test byte [ecx + 0x43], 2
jne 0x52572a
inc dword [ebp - 0x10]
jmp 0x52572a
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x5256db
or eax, 0xffffffff
jmp 0x525803
cmp al, 0x5c
jne 0x52572a
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5257f8
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x52572a
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x52570f
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x5256f9
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x5257f8
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x52572a
jmp 0x5256f9
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5d
jne 0x5256ca
jmp 0x5257e8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x525771
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x23
jne 0x525771
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x525762
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0xa
jne 0x52574d
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5257f8
jmp 0x5257e8
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x5257a1
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00525478
test eax, eax
jg 0x525803
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x5257f8
jmp 0x5257e8
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x29
jne 0x5257c9
test esi, esi
je 0x5257bc
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jge 0x5257bc
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
jmp 0x525803
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x7c
jne 0x5257e8
test esi, esi
je 0x5257e8
mov eax, dword [ebx]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jle 0x5257e3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x5255fe
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc