Function at 0x1004e0b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0xc
mov edx, dword [eax + 0x8624]
push ebx
push esi
push edi
mov cl, byte [edx]
mov esi, edx
mov edi, dword [eax + 0x114]
call fcn.1004df60
test al, al
je 0x1004e111
mov cl, byte [esi + 1]
inc esi
call fcn.1004df60
test al, al
jne 0x1004e0d4
cmp esi, edx
je 0x1004e111
mov ecx, esi
jbe 0x1004e0f3
cmp byte [esi - 1], 0x2f
lea eax, [esi - 1]
cmove ecx, eax
push 1
push 0
lea ebx, [edi + 4]
sub ecx, edx
push ebx
push ecx
call fcn.1004e3b0
add esp, 0x10
test eax, eax
je 0x1004e118
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 0
cmp byte [esi], 0x3b
jne 0x1004e2a0
mov al, byte [esi + 1]
inc esi
mov edx, esi
test al, al
je 0x1004e30c
nop
cmp al, 0x3d
je 0x1004e148
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1004e130
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x1004e30c
push 1
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
sub eax, edx
push eax
call fcn.1004e3b0
add esp, 0x10
test eax, eax
jne 0x1004e2f2
mov cl, byte [esi + 1]
inc esi
mov edx, esi
call fcn.1004df60
test al, al
je 0x1004e18d
lea ecx, [ecx]
mov cl, byte [esi + 1]
inc esi
call fcn.1004df60
test al, al
jne 0x1004e180
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, esi
sub eax, edx
push eax
call fcn.1004e3b0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x1004e318
mov ebx, dword [ebp - 0xc]
mov edx, str.UIDVALIDITY
mov ecx, ebx
call fcn.100531a0
test eax, eax
je 0x1004e1e5
cmp dword [edi + 8], 0
jne 0x1004e1e5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x1004e1dd
cmp byte [ecx + eax - 1], 0x2f
jne 0x1004e1dd
mov byte [ecx + eax - 1], 0
mov dword [edi + 8], ecx
jmp 0x1004e27e
mov edx, 0x1010c778
mov ecx, ebx
call fcn.100531a0
test eax, eax
je 0x1004e216
cmp dword [edi + 0xc], 0
jne 0x1004e216
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x1004e211
cmp byte [ecx + eax - 1], 0x2f
jne 0x1004e211
mov byte [ecx + eax - 1], 0
mov dword [edi + 0xc], ecx
jmp 0x1004e27e
mov edx, str.SECTION
mov ecx, ebx
call fcn.100531a0
test eax, eax
je 0x1004e247
cmp dword [edi + 0x10], 0
jne 0x1004e247
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x1004e242
cmp byte [ecx + eax - 1], 0x2f
jne 0x1004e242
mov byte [ecx + eax - 1], 0
mov dword [edi + 0x10], ecx
jmp 0x1004e27e
mov edx, str.PARTIAL
mov ecx, ebx
call fcn.100531a0
test eax, eax
je 0x1004e2f9
cmp dword [edi + 0x14], 0
jne 0x1004e2f9
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x1004e27b
cmp byte [ecx + eax - 1], 0x2f
jne 0x1004e27b
mov byte [ecx + eax - 1], 0
mov dword [edi + 0x14], ecx
push ebx
mov dword [ebp - 4], 0
call dword [0x10117554]
push 0
call dword [0x10117554]
add esp, 8
cmp byte [esi], 0x3b
je 0x1004e121
cmp dword [edi + 4], 0
je 0x1004e2e6
cmp dword [edi + 0xc], 0
jne 0x1004e2e6
cmp byte [esi], 0x3f
jne 0x1004e2e6
mov cl, byte [esi + 1]
inc esi
mov edx, esi
call fcn.1004df60
test al, al
je 0x1004e2cd
mov cl, byte [esi + 1]
inc esi
call fcn.1004df60
test al, al
jne 0x1004e2c0
push 1
push 0
lea eax, [edi + 0x18]
push eax
mov eax, esi
sub eax, edx
push eax
call fcn.1004e3b0
add esp, 0x10
test eax, eax
jne 0x1004e2f2
xor eax, eax
mov ecx, 3
cmp byte [esi], al
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x10117554]
push dword [ebp - 4]
call dword [0x10117554]
add esp, 8
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
call dword [0x10117554]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret