Function at 0x514fa0
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.00517750
add esp, 4
movzx eax, al
test eax, eax
je 0x515005
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x514fe4
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
je 0x51506d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jbe 0x515038
mov edx, 1
imul eax, edx, 0xffffffff
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ecx + eax]
cmp edx, 0x2f
jne 0x515038
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.004722ce
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x51506b
mov eax, dword [ebp - 4]
jmp 0x5153b1
jmp 0x515077
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x3b
jne 0x515321
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 0x5150b5
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x3d
je 0x5150b5
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x515095
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x5150c9
mov eax, 3
jmp 0x5153b1
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.004722ce
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5150f9
mov eax, dword [ebp - 4]
jmp 0x5153b1
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.00517750
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x515129
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x515108
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.004722ce
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x515171
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
call dword [0x568010]
add esp, 4
cmp esi, esp
call fcn.00471e7d
mov eax, dword [ebp - 4]
jmp 0x5153b1
xor eax, eax
jne 0x515171
push str.UIDVALIDITY
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00471879
add esp, 8
test eax, eax
je 0x5151c7
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
jne 0x5151c7
cmp dword [ebp - 0x38], 0
jbe 0x5151b2
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
movsx ecx, byte [eax - 1]
cmp ecx, 0x2f
jne 0x5151b2
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 0x5152f0
push 0x56fae8
mov edx, dword [ebp - 0x20]
push edx
call fcn.00471879
add esp, 8
test eax, eax
je 0x515219
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xc], 0
jne 0x515219
cmp dword [ebp - 0x38], 0
jbe 0x515204
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x38]
movsx edx, byte [ecx - 1]
cmp edx, 0x2f
jne 0x515204
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 0x5152f0
push str.SECTION
mov eax, dword [ebp - 0x20]
push eax
call fcn.00471879
add esp, 8
test eax, eax
je 0x51526b
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x10], 0
jne 0x51526b
cmp dword [ebp - 0x38], 0
jbe 0x515256
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x38]
movsx eax, byte [edx - 1]
cmp eax, 0x2f
jne 0x515256
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 0x5152f0
push str.PARTIAL
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00471879
add esp, 8
test eax, eax
je 0x5152ba
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 0
jne 0x5152ba
cmp dword [ebp - 0x38], 0
jbe 0x5152a8
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
movsx ecx, byte [eax - 1]
cmp ecx, 0x2f
jne 0x5152a8
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 0x5152f0
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
call dword [0x568010]
add esp, 4
cmp esi, esp
call fcn.00471e7d
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [0x568010]
add esp, 4
cmp esi, esp
call fcn.00471e7d
mov eax, 3
jmp 0x5153b1
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x568010]
add esp, 4
cmp esi, esp
call fcn.00471e7d
mov esi, esp
mov edx, dword [ebp - 0x2c]
push edx
call dword [0x568010]
add esp, 4
cmp esi, esp
call fcn.00471e7d
jmp 0x515077
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
je 0x51539e
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], 0
jne 0x51539e
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x3f
jne 0x51539e
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.00517750
add esp, 4
movzx edx, al
test edx, edx
je 0x51536e
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x51534d
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.004722ce
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x51539e
mov eax, dword [ebp - 4]
jmp 0x5153b1
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
test eax, eax
je 0x5153af
mov eax, 3
jmp 0x5153b1
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x5153d4]
call fcn.0047194b
pop eax
pop edx
pop edi
pop esi
add esp, 0x3c
cmp ebp, esp
call fcn.00471e7d
mov esp, ebp
pop ebp
ret