Function at 0x5c412c
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
lea ebx, [ebp - 4]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [eax]
xor eax, eax
mov dword [ebx], edx
mov ecx, dword [esi]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x28
jne 0x5c4496
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + 1]
cmp edx, 0x3f
jne 0x5c4188
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx + 2]
cmp eax, 0x7c
jne 0x5c4188
add dword [ebx], 3
mov dword [ebp - 0x10], 1
jmp 0x5c4496
mov edx, dword [ebx]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0x3f
je 0x5c41b6
cmp eax, 0x2a
je 0x5c41b6
inc dword [esi]
cmp dword [ebp + 0x10], 0
jne 0x5c41af
mov edx, dword [esi]
cmp edx, dword [ebp + 0x14]
jne 0x5c41af
mov eax, dword [esi]
jmp 0x5c44ac
inc dword [ebx]
jmp 0x5c4496
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 2]
cmp ecx, 0x28
jne 0x5c41fc
add dword [ebx], 2
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx + 1]
cmp eax, 0x3f
je 0x5c4496
jmp 0x5c41d9
inc dword [ebx]
mov edx, dword [ebx]
mov al, byte [edx]
test al, al
je 0x5c41ea
xor edx, edx
mov dl, al
cmp edx, 0x29
jne 0x5c41d7
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5c4496
inc dword [ebx]
jmp 0x5c4496
add dword [ebx], 2
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x50
jne 0x5c420c
inc dword [ebx]
mov edx, dword [ebx]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3c
jne 0x5c422f
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 1]
cmp ecx, 0x21
je 0x5c422f
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 1]
cmp ecx, 0x3d
jne 0x5c4238
cmp eax, 0x27
jne 0x5c4496
inc dword [esi]
cmp dword [ebp + 0x10], 0
jne 0x5c424e
mov eax, dword [esi]
cmp eax, dword [ebp + 0x14]
jne 0x5c424e
mov eax, dword [esi]
jmp 0x5c44ac
mov edx, dword [ebx]
xor eax, eax
mov al, byte [edx]
inc dword [ebx]
cmp eax, 0x3c
jne 0x5c4260
mov eax, 0x3e
mov edx, dword [ebx]
jmp 0x5c4266
inc dword [ebx]
mov ecx, dword [ebx]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x5c4264
cmp dword [ebp + 0x10], 0
je 0x5c4496
mov eax, dword [ebx]
sub eax, edx
cmp eax, dword [ebp + 0x14]
jne 0x5c4496
mov eax, dword [ebp + 0x14]
push eax
push edx
mov edx, dword [ebp + 0x10]
push edx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x5c4496
mov eax, dword [esi]
jmp 0x5c44ac
xor edx, edx
mov dl, al
cmp edx, 0x5c
jne 0x5c4302
inc dword [ebx]
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5c44a2
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x51
jne 0x5c4494
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5c42e4
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x5c
jne 0x5c42d0
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5c44a2
inc dword [ebx]
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x45
je 0x5c4494
jmp 0x5c42d0
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x5b
jne 0x5c43e5
xor edi, edi
inc dword [ebx]
mov eax, dword [ebx]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x5c434b
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 1]
cmp ecx, 0x45
jne 0x5c432f
inc dword [ebx]
jmp 0x5c4313
push 3
push 0x668511
mov ecx, dword [ebx]
inc ecx
push ecx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x5c435b
add dword [ebx], 3
jmp 0x5c4313
test edi, edi
jne 0x5c435b
cmp eax, 0x5e
jne 0x5c435b
mov edi, 1
jmp 0x5c4313
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + 1]
cmp edx, 0x5d
jne 0x5c43d3
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0x43], 2
jne 0x5c43d3
inc dword [ebx]
jmp 0x5c43d3
mov ecx, dword [ebx]
mov al, byte [ecx]
test al, al
jne 0x5c4384
or eax, 0xffffffff
jmp 0x5c44ac
xor edx, edx
mov dl, al
cmp edx, 0x5c
jne 0x5c43d3
inc dword [ebx]
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5c44a2
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x51
jne 0x5c43d3
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5c43b9
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x5c
jne 0x5c43a5
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5c44a2
inc dword [ebx]
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x45
je 0x5c43d3
jmp 0x5c43a5
inc dword [ebx]
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x5d
jne 0x5c4374
jmp 0x5c4494
cmp dword [ebp + 0x18], 0
je 0x5c4417
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x23
jne 0x5c4417
inc dword [ebx]
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5c440a
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0xa
jne 0x5c43f6
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5c44a2
jmp 0x5c4494
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x28
jne 0x5c4449
push esi
mov ecx, dword [ebp + 0x18]
push ecx
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
call fcn.005c412c
add esp, 0x18
test eax, eax
jg 0x5c44ac
mov eax, dword [ebx]
cmp byte [eax], 0
je 0x5c44a2
jmp 0x5c4494
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x29
jne 0x5c4474
cmp dword [ebp - 0x10], 0
je 0x5c4466
mov eax, dword [esi]
cmp eax, dword [ebp - 0xc]
jge 0x5c4466
mov edx, dword [ebp - 0xc]
mov dword [esi], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ecx], eax
or eax, 0xffffffff
jmp 0x5c44ac
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x7c
jne 0x5c4494
cmp dword [ebp - 0x10], 0
je 0x5c4494
mov eax, dword [esi]
cmp eax, dword [ebp - 0xc]
jle 0x5c448f
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [esi], edx
inc dword [ebx]
mov ecx, dword [ebx]
mov al, byte [ecx]
test al, al
jne 0x5c42ab
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret