Function at 0x41d841
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [eax]
mov ecx, dword [eax + 0x86b8]
push ebx
push esi
mov esi, dword [eax + 0x128]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
push edi
mov edi, ecx
call fcn.0041d65a
test eax, eax
je 0x41d8aa
inc edi
mov al, byte [edi]
call fcn.0041d65a
test eax, eax
jne 0x41d868
cmp edi, ecx
je 0x41d8aa
mov eax, edi
jbe 0x41d885
cmp byte [edi - 1], 0x2f
jne 0x41d885
lea eax, [edi - 1]
push 1
xor ebx, ebx
push ebx
lea edx, [esi + 4]
push edx
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.0042b9f5
add esp, 0x18
cmp eax, ebx
je 0x41da27
jmp 0x41dab0
xor ebx, ebx
mov dword [esi + 4], ebx
jmp 0x41da27
inc edi
mov al, byte [edi]
mov ecx, edi
cmp al, bl
je 0x41da79
cmp al, 0x3d
je 0x41d8cc
inc edi
mov al, byte [edi]
cmp al, bl
jne 0x41d8c1
cmp byte [edi], bl
je 0x41da79
push 1
push ebx
lea eax, [ebp - 8]
push eax
mov eax, edi
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.0042b9f5
add esp, 0x18
cmp eax, ebx
jne 0x41dab0
inc edi
mov ecx, edi
jmp 0x41d8fa
inc edi
mov al, byte [edi]
call fcn.0041d65a
test eax, eax
jne 0x41d8f9
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, edi
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.0042b9f5
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x41da44
push str.UIDVALIDITY
push dword [ebp - 8]
call fcn.00414e69
pop ecx
pop ecx
test eax, eax
je 0x41d963
cmp dword [esi + 8], ebx
jne 0x41d963
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x41d958
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x41d958
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
jmp 0x41da00
push 0x503ab0
push dword [ebp - 8]
call fcn.00414e69
pop ecx
pop ecx
test eax, eax
je 0x41d998
cmp dword [esi + 0xc], ebx
jne 0x41d998
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x41d990
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x41d990
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jmp 0x41da00
push str.SECTION
push dword [ebp - 8]
call fcn.00414e69
pop ecx
pop ecx
test eax, eax
je 0x41d9cd
cmp dword [esi + 0x10], ebx
jne 0x41d9cd
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x41d9c5
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x41d9c5
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], eax
jmp 0x41da00
push str.PARTIAL
push dword [ebp - 8]
call fcn.00414e69
pop ecx
pop ecx
test eax, eax
je 0x41da58
cmp dword [esi + 0x14], ebx
jne 0x41da58
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x41d9fa
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x41d9fa
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x41da27
push dword [ebp - 8]
call dword [0x5476e8]
pop ecx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x41da27
push dword [ebp - 4]
call dword [0x5476e8]
pop ecx
mov dword [ebp - 4], ebx
cmp byte [edi], 0x3b
je 0x41d8b4
cmp dword [esi + 4], ebx
je 0x41daa6
cmp dword [esi + 0xc], ebx
jne 0x41daa6
cmp byte [edi], 0x3f
jne 0x41daa6
inc edi
mov ecx, edi
jmp 0x41da7f
cmp dword [ebp - 8], ebx
je 0x41da53
push dword [ebp - 8]
call dword [0x5476e8]
pop ecx
mov eax, dword [ebp - 0x14]
jmp 0x41dab0
cmp dword [ebp - 8], ebx
je 0x41da6a
push dword [ebp - 8]
call dword [0x5476e8]
pop ecx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x41da79
push dword [ebp - 4]
call dword [0x5476e8]
pop ecx
push 3
pop eax
jmp 0x41dab0
inc edi
mov al, byte [edi]
call fcn.0041d65a
test eax, eax
jne 0x41da7e
push 1
push ebx
add esi, 0x18
push esi
mov eax, edi
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.0042b9f5
add esp, 0x18
cmp eax, ebx
jne 0x41dab0
movsx eax, byte [edi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebx
leave
ret