Function at 0x5d7be0
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 0x5d7f4a
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + 1]
cmp edx, 0x3f
jne 0x5d7c3c
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx + 2]
cmp eax, 0x7c
jne 0x5d7c3c
add dword [ebx], 3
mov dword [ebp - 0x10], 1
jmp 0x5d7f4a
mov edx, dword [ebx]
xor eax, eax
mov al, byte [edx + 1]
cmp eax, 0x3f
je 0x5d7c6a
cmp eax, 0x2a
je 0x5d7c6a
inc dword [esi]
cmp dword [ebp + 0x10], 0
jne 0x5d7c63
mov edx, dword [esi]
cmp edx, dword [ebp + 0x14]
jne 0x5d7c63
mov eax, dword [esi]
jmp 0x5d7f60
inc dword [ebx]
jmp 0x5d7f4a
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 2]
cmp ecx, 0x28
jne 0x5d7cb0
add dword [ebx], 2
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx + 1]
cmp eax, 0x3f
je 0x5d7f4a
jmp 0x5d7c8d
inc dword [ebx]
mov edx, dword [ebx]
mov al, byte [edx]
test al, al
je 0x5d7c9e
xor edx, edx
mov dl, al
cmp edx, 0x29
jne 0x5d7c8b
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5d7f4a
inc dword [ebx]
jmp 0x5d7f4a
add dword [ebx], 2
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x50
jne 0x5d7cc0
inc dword [ebx]
mov edx, dword [ebx]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3c
jne 0x5d7ce3
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 1]
cmp ecx, 0x21
je 0x5d7ce3
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 1]
cmp ecx, 0x3d
jne 0x5d7cec
cmp eax, 0x27
jne 0x5d7f4a
inc dword [esi]
cmp dword [ebp + 0x10], 0
jne 0x5d7d02
mov eax, dword [esi]
cmp eax, dword [ebp + 0x14]
jne 0x5d7d02
mov eax, dword [esi]
jmp 0x5d7f60
mov edx, dword [ebx]
xor eax, eax
mov al, byte [edx]
inc dword [ebx]
cmp eax, 0x3c
jne 0x5d7d14
mov eax, 0x3e
mov edx, dword [ebx]
jmp 0x5d7d1a
inc dword [ebx]
mov ecx, dword [ebx]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x5d7d18
cmp dword [ebp + 0x10], 0
je 0x5d7f4a
mov eax, dword [ebx]
sub eax, edx
cmp eax, dword [ebp + 0x14]
jne 0x5d7f4a
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 0x5d7f4a
mov eax, dword [esi]
jmp 0x5d7f60
xor edx, edx
mov dl, al
cmp edx, 0x5c
jne 0x5d7db6
inc dword [ebx]
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5d7f56
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x51
jne 0x5d7f48
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5d7d98
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x5c
jne 0x5d7d84
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5d7f56
inc dword [ebx]
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x45
je 0x5d7f48
jmp 0x5d7d84
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x5b
jne 0x5d7e99
xor edi, edi
inc dword [ebx]
mov eax, dword [ebx]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x5d7dff
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + 1]
cmp ecx, 0x45
jne 0x5d7de3
inc dword [ebx]
jmp 0x5d7dc7
push 3
push 0x6787f5
mov ecx, dword [ebx]
inc ecx
push ecx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x5d7e0f
add dword [ebx], 3
jmp 0x5d7dc7
test edi, edi
jne 0x5d7e0f
cmp eax, 0x5e
jne 0x5d7e0f
mov edi, 1
jmp 0x5d7dc7
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax + 1]
cmp edx, 0x5d
jne 0x5d7e87
mov ecx, dword [ebp + 0xc]
test byte [ecx + 0x43], 2
jne 0x5d7e87
inc dword [ebx]
jmp 0x5d7e87
mov ecx, dword [ebx]
mov al, byte [ecx]
test al, al
jne 0x5d7e38
or eax, 0xffffffff
jmp 0x5d7f60
xor edx, edx
mov dl, al
cmp edx, 0x5c
jne 0x5d7e87
inc dword [ebx]
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5d7f56
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x51
jne 0x5d7e87
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5d7e6d
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x5c
jne 0x5d7e59
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x5d7f56
inc dword [ebx]
mov ecx, dword [ebx]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x45
je 0x5d7e87
jmp 0x5d7e59
inc dword [ebx]
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x5d
jne 0x5d7e28
jmp 0x5d7f48
cmp dword [ebp + 0x18], 0
je 0x5d7ecb
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x23
jne 0x5d7ecb
inc dword [ebx]
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5d7ebe
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0xa
jne 0x5d7eaa
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x5d7f56
jmp 0x5d7f48
mov eax, dword [ebx]
xor edx, edx
mov dl, byte [eax]
cmp edx, 0x28
jne 0x5d7efd
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.005d7be0
add esp, 0x18
test eax, eax
jg 0x5d7f60
mov eax, dword [ebx]
cmp byte [eax], 0
je 0x5d7f56
jmp 0x5d7f48
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x29
jne 0x5d7f28
cmp dword [ebp - 0x10], 0
je 0x5d7f1a
mov eax, dword [esi]
cmp eax, dword [ebp - 0xc]
jge 0x5d7f1a
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 0x5d7f60
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
cmp ecx, 0x7c
jne 0x5d7f48
cmp dword [ebp - 0x10], 0
je 0x5d7f48
mov eax, dword [esi]
cmp eax, dword [ebp - 0xc]
jle 0x5d7f43
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 0x5d7d5f
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