Function at 0x41e390
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x30]
mov ecx, dword [ecx]
push esi
mov dword [esp + 0xc], ecx
mov eax, dword [ebp]
mov esi, eax
cmp byte [ecx], 0x28
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], 0
jne 0x41e522
mov al, byte [ecx + 1]
cmp al, 0x2a
jne 0x41e3de
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x41e522
cmp al, 0x3f
je 0x41e3fe
mov eax, esi
inc eax
mov dword [ebp], eax
test edi, edi
jne 0x41e3f4
cmp eax, ebx
je 0x41e780
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x41e522
mov al, byte [ecx + 2]
lea edx, [ecx + 2]
cmp al, 0x7c
jne 0x41e41c
add ecx, 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], ecx
jmp 0x41e522
cmp al, 0x23
jne 0x41e455
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x41e777
cmp al, 0x29
je 0x41e777
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x41e431
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
mov ecx, edx
mov dword [esp + 0x10], ecx
cmp al, 0x28
jne 0x41e49a
cmp byte [ecx + 1], 0x3f
je 0x41e522
mov al, byte [ecx]
test al, al
je 0x41e522
cmp al, 0x29
je 0x41e487
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x41e473
jmp 0x41e522
cmp byte [ecx], 0
je 0x41e522
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x41e522
cmp byte [ecx], 0x50
jne 0x41e4a4
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x3c
jne 0x41e4b7
mov dl, byte [ecx + 1]
cmp dl, 0x21
je 0x41e4b7
cmp dl, 0x3d
jne 0x41e4bb
cmp al, 0x27
jne 0x41e522
mov eax, esi
inc eax
mov dword [ebp], eax
test edi, edi
jne 0x41e4cd
cmp eax, ebx
je 0x41e780
movzx edx, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp edx, 0x3c
jne 0x41e4df
mov edx, 0x3e
movzx eax, byte [ecx]
mov esi, ecx
cmp eax, edx
je 0x41e4f4
inc ecx
mov dword [esp + 0x10], ecx
movzx eax, byte [ecx]
cmp eax, edx
jne 0x41e4e8
test edi, edi
je 0x41e51e
mov eax, ecx
sub eax, esi
cmp ebx, eax
jne 0x41e51e
push ebx
push esi
push edi
call fcn.00415d05
add esp, 0xc
test eax, eax
jne 0x41e51a
mov eax, dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
cmp ecx, dword [edi + 0x1c]
jae 0x41e777
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov al, byte [ecx]
cmp al, 0x5c
jne 0x41e57e
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x41e777
cmp al, 0x51
jne 0x41e6a2
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x41e777
cmp al, 0x5c
jne 0x41e554
test al, al
je 0x41e777
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x41e554
jmp 0x41e6a2
cmp al, 0x5b
jne 0x41e646
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x41e5be
add ecx, 2
cmp byte [ecx], 0x45
jne 0x41e59d
mov dword [esp + 0x10], ecx
jmp 0x41e588
push 3
push 0x488f78
push ecx
call fcn.00415d05
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x41e5d2
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x41e588
test esi, esi
jne 0x41e5d2
cmp al, 0x5e
jne 0x41e5d2
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x41e588
cmp byte [ecx + 1], 0x5d
lea eax, [ecx + 1]
jne 0x41e5e6
test dword [edi + 0x4c], 0x2000000
jne 0x41e5e6
mov ecx, eax
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x41e69e
test al, al
je 0x41e77d
cmp al, 0x5c
jne 0x41e639
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x41e777
cmp al, 0x51
jne 0x41e639
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x41e777
cmp al, 0x5c
jne 0x41e614
test al, al
je 0x41e777
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x41e614
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x41e5f5
jmp 0x41e69e
test edx, edx
je 0x41e710
cmp al, 0x23
jne 0x41e710
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
test dl, dl
je 0x41e777
mov esi, dword [edi + 0x60]
test esi, esi
je 0x41e6b9
mov edx, dword [edi + 0x1c]
cmp ecx, edx
jae 0x41e6d7
push ebx
lea eax, [edi + 0x64]
push eax
push edx
push esi
push ecx
call fcn.00430a10
mov ecx, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x41e6d7
mov eax, dword [edi + 0x64]
dec ecx
add ecx, eax
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
je 0x41e777
mov edx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 0x1c]
jae 0x41e777
mov esi, dword [esp + 0x38]
jmp 0x41e537
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 0x64]
sub eax, esi
cmp ecx, eax
ja 0x41e6d7
cmp dl, byte [edi + 0x68]
jne 0x41e6d7
cmp esi, 1
je 0x41e68b
mov al, byte [ecx + 1]
cmp al, byte [edi + 0x69]
je 0x41e68b
inc ecx
mov dword [esp + 0x10], ecx
test ebx, ebx
je 0x41e6f5
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
jne 0x41e6f5
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
and al, 0xc0
cmp al, 0x80
je 0x41e6e8
mov dl, byte [ecx]
test dl, dl
jne 0x41e665
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp al, 0x28
jne 0x41e73a
push ebp
push ebx
push edx
push dword [esp + 0x38]
lea eax, [esp + 0x20]
push dword [esp + 0x38]
push edi
push eax
call fcn.0041e390
add esp, 0x1c
test eax, eax
jg 0x41e780
mov ecx, dword [esp + 0x10]
jmp 0x41e695
cmp al, 0x29
je 0x41e768
cmp al, 0x7c
jne 0x41e6a2
cmp dword [esp + 0x18], 0
je 0x41e6a2
mov eax, dword [ebp]
cmp eax, esi
jle 0x41e75c
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
jmp 0x41e6a2
cmp dword [esp + 0x18], 0
je 0x41e777
cmp dword [ebp], esi
jge 0x41e777
mov dword [ebp], esi
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret