Function at 0x3d767fc
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.03cfd124
pop ecx
mov esi, eax
test byte [ebp - 8], 0x40
jne 0x3d76837
cmp byte [0x3e21b2e], 0
je 0x3d76c59
cmp esi, 5
jl 0x3d76c59
push 5
push 0x3e32b63
mov eax, dword [ebp + 0xc]
push eax
call fcn.03cf57f0
add esp, 0xc
test eax, eax
jne 0x3d76c59
xor edx, edx
lea eax, [esi + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
cdq
mov dword [ebp - 0x1c], edx
xor ebx, ebx
or dword [ebp - 8], 0x40
mov eax, dword [ebp + 0xc]
cmp esi, ebx
mov ecx, eax
jle 0x3d7688f
cmp byte [ecx], 0x26
sete al
and eax, 1
cdq
add dword [ebp - 0x20], eax
adc dword [ebp - 0x1c], edx
inc ebx
inc ecx
cmp esi, ebx
jg 0x3d76879
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.03cf9bf0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x3d768b0
mov eax, 7
jmp 0x3d76d13
push 4
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.03cf5720
add dword [ebp - 0x10], 4
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov ebx, 5
cmp byte [eax + 5], 0x2f
jne 0x3d76941
mov edx, dword [ebp + 0xc]
cmp byte [edx + 6], 0x2f
jne 0x3d76941
mov ebx, 7
mov eax, dword [ebp + 0xc]
lea esi, [eax + 7]
jmp 0x3d768ea
inc ebx
inc esi
cmp byte [esi], 0
je 0x3d768f4
cmp byte [esi], 0x2f
jne 0x3d768e8
cmp ebx, 7
je 0x3d76941
cmp ebx, 0x10
jne 0x3d76918
push 9
mov eax, dword [ebp + 0xc]
add eax, 7
push eax
push 0x3e32b69
call fcn.03cf57f0
add esp, 0xc
test eax, eax
je 0x3d76941
mov edx, dword [ebp + 0xc]
add edx, 7
add ebx, 0xfffffff9
push edx
push ebx
push 0x3e32b73
call fcn.03cfc110
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 1
jmp 0x3d76ceb
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
lea esi, [ecx + eax - 1]
jmp 0x3d76a89
inc ebx
cmp al, 0x25
jne 0x3d76a13
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [edx + ebx]
test byte [ecx + 0x3e2c334], 8
je 0x3d76a13
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [edx + ebx + 1]
test byte [ecx + 0x3e2c334], 8
je 0x3d76a13
mov edx, dword [ebp + 0xc]
mov eax, ebx
inc ebx
movsx eax, byte [edx + eax]
push eax
call fcn.03cfed6c
mov edi, eax
mov eax, ebx
mov edx, dword [ebp + 0xc]
pop ecx
and edi, 0xff
movsx ecx, byte [edx + eax]
shl edi, 4
inc ebx
push ecx
call fcn.03cfed6c
pop ecx
xor ecx, ecx
mov cl, al
add edi, ecx
test edi, edi
jne 0x3d76a0f
mov eax, dword [ebp + 0xc]
lea edx, [eax + ebx]
jmp 0x3d769ca
inc ebx
inc edx
mov al, byte [edx]
test al, al
je 0x3d76946
cmp al, 0x23
je 0x3d76946
cmp dword [ebp - 0x14], 0
jne 0x3d769ea
cmp al, 0x3f
je 0x3d76946
cmp dword [ebp - 0x14], 1
jne 0x3d76a00
cmp al, 0x3d
je 0x3d76946
cmp al, 0x26
je 0x3d76946
cmp dword [ebp - 0x14], 2
jne 0x3d769c8
cmp al, 0x26
jne 0x3d769c8
jmp 0x3d76946
mov eax, edi
jmp 0x3d76a82
cmp dword [ebp - 0x14], 1
jne 0x3d76a65
cmp al, 0x26
je 0x3d76a21
cmp al, 0x3d
jne 0x3d76a65
cmp byte [esi], 0
jne 0x3d76a4c
mov edx, dword [ebp + 0xc]
add edx, ebx
jmp 0x3d76a2f
inc ebx
inc edx
mov al, byte [edx]
test al, al
je 0x3d76946
cmp al, 0x23
je 0x3d76946
cmp byte [edx - 1], 0x26
jne 0x3d76a2d
jmp 0x3d76946
cmp al, 0x26
jne 0x3d76a5a
mov byte [esi + 1], 0
inc dword [ebp - 0x18]
inc esi
jmp 0x3d76a61
mov dword [ebp - 0x14], 2
xor eax, eax
jmp 0x3d76a82
cmp dword [ebp - 0x14], 0
jne 0x3d76a6f
cmp al, 0x3f
je 0x3d76a79
cmp dword [ebp - 0x14], 2
jne 0x3d76a82
cmp al, 0x26
jne 0x3d76a82
mov dword [ebp - 0x14], 1
xor eax, eax
mov byte [esi + 1], al
inc dword [ebp - 0x18]
inc esi
mov edx, dword [ebp + 0xc]
mov al, byte [edx + ebx]
test al, al
je 0x3d76a9b
cmp al, 0x23
jne 0x3d76955
cmp dword [ebp - 0x14], 1
jne 0x3d76aae
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov byte [ecx + ebx], 0
inc dword [ebp - 0x18]
push 4
push 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
push eax
call fcn.03cf5720
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.03cfd124
pop ecx
mov ebx, eax
add ebx, dword [ebp - 0x10]
inc ebx
jmp 0x3d76c4e
push ebx
call fcn.03cfd124
pop ecx
mov edi, eax
lea eax, [ebx + edi + 1]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.03cfd124
pop ecx
mov esi, eax
cmp edi, 3
jne 0x3d76b16
push 3
push ebx
push 0x3e32b8f
call fcn.03cf57f0
add esp, 0xc
test eax, eax
jne 0x3d76b16
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
jmp 0x3d76c48
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp edi, 5
jne 0x3d76b5e
push 5
push ebx
push 0x3e32b93
call fcn.03cf57f0
add esp, 0xc
test eax, eax
jne 0x3d76b5e
mov dword [ebp - 0x30], 0x60000
mov dword [ebp - 0x28], 0x3e28160
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], 0x3e32b93
cmp edi, 4
jne 0x3d76b95
push 4
push ebx
push 0x3e3077f
call fcn.03cf57f0
add esp, 0xc
test eax, eax
jne 0x3d76b95
mov dword [ebp - 0x30], 0x87
mov dword [ebp - 0x28], 0x3e28178
mov edi, dword [ebp - 0x30]
and edi, dword [ebp - 8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 0x3e32baf
cmp dword [ebp - 0x28], 0
je 0x3d76c48
xor eax, eax
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x28]
mov ebx, edx
jmp 0x3d76bd5
mov edi, eax
push edi
call fcn.03cfd124
pop ecx
cmp esi, eax
jne 0x3d76bd2
push esi
push edi
mov eax, dword [ebp - 0x24]
push eax
call fcn.03cf57f0
add esp, 0xc
test eax, eax
jne 0x3d76bd2
mov edx, dword [ebx + 4]
mov dword [ebp - 0x38], edx
jmp 0x3d76bdb
add ebx, 8
mov eax, dword [ebx]
test eax, eax
jne 0x3d76bab
cmp dword [ebp - 0x38], 0
jne 0x3d76c07
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x3e32bb6
call fcn.03cfc110
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 1
jmp 0x3d76ceb
mov eax, dword [ebp - 0x38]
and eax, 0xffffff7f
cmp eax, dword [ebp - 0x34]
jle 0x3d76c3a
mov ecx, dword [ebp - 0x24]
push ecx
mov eax, dword [ebp - 0x2c]
push eax
push 0x3e32bca
call fcn.03cfc110
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 4], 3
jmp 0x3d76ceb
mov ecx, dword [ebp - 0x30]
not ecx
and ecx, dword [ebp - 8]
or ecx, dword [ebp - 0x38]
mov dword [ebp - 8], ecx
mov ebx, dword [ebp - 0x24]
add ebx, esi
inc ebx
cmp byte [ebx], 0
jne 0x3d76ad6
jmp 0x3d76cb7
lea eax, [esi + 8]
cdq
push edx
push eax
call fcn.03cf9bf0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x3d76c7a
mov eax, 7
jmp 0x3d76d13
push 4
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.03cf5720
add esp, 0xc
add dword [ebp - 0x10], 4
test esi, esi
je 0x3d76ca3
push esi
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp - 0x10]
push eax
call fcn.03cf5764
add esp, 0xc
push 4
push 0
add esi, dword [ebp - 0x10]
push esi
call fcn.03cf5720
add esp, 0xc
and dword [ebp - 8], 0xffffffbf
mov edx, dword [ebp - 0xc]
push edx
call fcn.03cf9240
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x3d76ceb
mov edx, dword [ebp - 0xc]
push edx
push 0x3e32be2
call fcn.03cfc110
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x3d76d00
mov eax, dword [ebp - 0x10]
push eax
call fcn.03d77ef0
pop ecx
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 8]
mov dword [ecx], ebx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret