Function at 0x514a40
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
lea edi, [ebp - 0x3c]
mov ecx, 0xf
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x114]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x47a4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
push edx
call fcn.005171f0
add esp, 4
movzx eax, al
test eax, eax
je 0x514aa5
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x514a84
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
je 0x514b0d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jbe 0x514ad8
mov edx, 1
imul eax, edx, 0xffffffff
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ecx + eax]
cmp edx, 0x2f
jne 0x514ad8
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
push 1
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004722b5
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x514b0b
mov eax, dword [ebp - 4]
jmp 0x514e51
jmp 0x514b17
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x3b
jne 0x514dc1
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x514b55
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x3d
je 0x514b55
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x514b35
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x514b69
mov eax, 3
jmp 0x514e51
push 1
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004722b5
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x514b99
mov eax, dword [ebp - 4]
jmp 0x514e51
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx]
push eax
call fcn.005171f0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x514bc9
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x514ba8
push 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004722b5
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x514c11
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
call dword [0x567010]
add esp, 4
cmp esi, esp
call fcn.00471e55
mov eax, dword [ebp - 4]
jmp 0x514e51
xor eax, eax
jne 0x514c11
push str.UIDVALIDITY
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0047184c
add esp, 8
test eax, eax
je 0x514c67
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
jne 0x514c67
cmp dword [ebp - 0x38], 0
jbe 0x514c52
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
movsx ecx, byte [eax - 1]
cmp ecx, 0x2f
jne 0x514c52
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x38]
mov byte [edx - 1], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov dword [ebp - 0x2c], 0
jmp 0x514d90
push 0x56eae8
mov edx, dword [ebp - 0x20]
push edx
call fcn.0047184c
add esp, 8
test eax, eax
je 0x514cb9
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
jne 0x514cb9
cmp dword [ebp - 0x38], 0
jbe 0x514ca4
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x38]
movsx edx, byte [ecx - 1]
cmp edx, 0x2f
jne 0x514ca4
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
mov byte [eax - 1], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], edx
mov dword [ebp - 0x2c], 0
jmp 0x514d90
push str.SECTION
mov eax, dword [ebp - 0x20]
push eax
call fcn.0047184c
add esp, 8
test eax, eax
je 0x514d0b
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
jne 0x514d0b
cmp dword [ebp - 0x38], 0
jbe 0x514cf6
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x38]
movsx eax, byte [edx - 1]
cmp eax, 0x2f
jne 0x514cf6
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x38]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x10], eax
mov dword [ebp - 0x2c], 0
jmp 0x514d90
push str.PARTIAL
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0047184c
add esp, 8
test eax, eax
je 0x514d5a
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 0
jne 0x514d5a
cmp dword [ebp - 0x38], 0
jbe 0x514d48
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
movsx ecx, byte [eax - 1]
cmp ecx, 0x2f
jne 0x514d48
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x38]
mov byte [edx - 1], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x14], ecx
mov dword [ebp - 0x2c], 0
jmp 0x514d90
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
call dword [0x567010]
add esp, 4
cmp esi, esp
call fcn.00471e55
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x567010]
add esp, 4
cmp esi, esp
call fcn.00471e55
mov eax, 3
jmp 0x514e51
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x567010]
add esp, 4
cmp esi, esp
call fcn.00471e55
mov esi, esp
mov edx, dword [ebp - 0x2c]
push edx
call dword [0x567010]
add esp, 4
cmp esi, esp
call fcn.00471e55
jmp 0x514b17
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x514e3e
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], 0
jne 0x514e3e
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x3f
jne 0x514e3e
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
push ecx
call fcn.005171f0
add esp, 4
movzx edx, al
test edx, edx
je 0x514e0e
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x514ded
push 1
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004722b5
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x514e3e
mov eax, dword [ebp - 4]
jmp 0x514e51
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x514e4f
mov eax, 3
jmp 0x514e51
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x514e74]
call fcn.00471914
pop eax
pop edx
pop edi
pop esi
add esp, 0x3c
cmp ebp, esp
call fcn.00471e55
mov esp, ebp
pop ebp
ret