Function at 0x1002d7e9
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
mov ecx, dword [edi + 0x86c8]
mov ebp, dword [edi + 0x128]
mov dword [esp + 0x1c], edi
mov esi, ecx
jmp 0x1002d7d0
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x1002d7e2.34
movzx edx, byte [eax + 0x1002daa0]
jmp dword [edx*4 + 0x1002da98]
inc esi
jmp 0x1002d7d0
cmp esi, ecx
je 0x1002d81f
mov eax, esi
jbe 0x1002d7fd
cmp byte [esi - 1], 0x2f
jne 0x1002d7fd
lea eax, [esi - 1]
push 1
xor ebx, ebx
push ebx
lea edx, [ebp + 4]
push edx
sub eax, ecx
push eax
push ecx
push edi
call fcn.1003e390
add esp, 0x18
cmp eax, ebx
je 0x1002d824
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor ebx, ebx
mov dword [ebp + 4], ebx
cmp byte [esi], 0x3b
jne 0x1002da37
mov al, byte [esi + 1]
inc esi
mov ecx, esi
cmp al, bl
je 0x1002da2a
jmp 0x1002d840
cmp al, 0x3d
je 0x1002d859
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x1002d840
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp byte [esi], bl
je 0x1002da2a
push 1
push ebx
lea eax, [esp + 0x1c]
push eax
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.1003e390
add esp, 0x18
cmp eax, ebx
jne 0x1002da90
inc esi
mov ecx, esi
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x1002d895.34
movzx eax, byte [eax + 0x1002db08]
jmp dword [eax*4 + 0x1002db00]
inc esi
jmp 0x1002d883
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.1003e390
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp edi, ebx
jne 0x1002d9ea
push str.UIDVALIDITY
push eax
call fcn.1003dd90
add esp, 8
test eax, eax
je 0x1002d902
cmp dword [ebp + 8], ebx
jne 0x1002d902
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1002d8f6
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1002d8f6
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], ecx
jmp 0x1002d9b1
mov edx, dword [esp + 0x14]
push 0x10066f98
push edx
call fcn.1003dd90
add esp, 8
test eax, eax
je 0x1002d93d
cmp dword [ebp + 0xc], ebx
jne 0x1002d93d
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1002d934
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1002d934
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x1002d9b1
mov ecx, dword [esp + 0x14]
push str.SECTION
push ecx
call fcn.1003dd90
add esp, 8
test eax, eax
je 0x1002d978
cmp dword [ebp + 0x10], ebx
jne 0x1002d978
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1002d96f
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1002d96f
mov byte [ecx + eax - 1], bl
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x10], edx
jmp 0x1002d9b1
mov eax, dword [esp + 0x14]
push str.PARTIAL
push eax
call fcn.1003dd90
add esp, 8
test eax, eax
je 0x1002da02
cmp dword [ebp + 0x14], ebx
jne 0x1002da02
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x1002d9aa
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x1002d9aa
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x1002d9e1
push eax
call dword [0x10076004]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x1002d9e1
push eax
call dword [0x10076004]
add esp, 4
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1002d824
cmp eax, ebx
je 0x1002d9f8
push eax
call dword [0x10076004]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1002da18
push eax
call dword [0x10076004]
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1002da2a
push eax
call dword [0x10076004]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 4], ebx
je 0x1002da86
cmp dword [ebp + 0xc], ebx
jne 0x1002da86
cmp byte [esi], 0x3f
jne 0x1002da86
inc esi
mov ecx, esi
lea esp, [esp]
movsx eax, byte [esi]
add eax, 0xffffffdf
cmp eax, 0x5d
ja case.0x1002da62.34
movzx edx, byte [eax + 0x1002db70]
jmp dword [edx*4 + 0x1002db68]
inc esi
jmp 0x1002da50
push 1
push ebx
add ebp, 0x18
push ebp
mov eax, esi
sub eax, ecx
push eax
push ecx
push edi
call fcn.1003e390
add esp, 0x18
cmp eax, ebx
jne 0x1002da90
movsx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret