Function at 0x417e30
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
je 0x4180ae
cmp eax, 0x7c
je 0x4180ae
cmp eax, 0x29
jne 0x417e6c
cmp dword [esi + 0x10], 0
jne 0x4180ae
test dword [esi + 0x58], 0x10000000
je 0x4180c5
cmp eax, 0x2e
jne 0x417ee1
push 5
lea ecx, [esi + 0x2c]
call fcn.00418120
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x417ed5
cmp byte [eax], 0x5c
jne 0x417ed2
lea ecx, [eax + 1]
cmp ecx, edx
je 0x417ecb
mov edx, dword [esi + 0x58]
test dl, 8
jne 0x417ea4
mov bl, byte [ecx]
cmp bl, 0x28
je 0x417eb5
cmp bl, 0x29
je 0x417eb5
test dl, 0x10
jne 0x417ecb
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x417eb5
cmp dl, 0x7d
jne 0x417ecb
mov dl, 1
test dl, dl
cmovne eax, ecx
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.004158f0
jmp 0x418099
xor dl, dl
test dl, dl
cmovne eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004158f0
jmp 0x418099
cmp eax, 0x5c
jne 0x417f46
mov ecx, esi
call fcn.00417dd0
mov eax, dword [esi + 0x58]
and eax, 0x80
je 0x417f13
cmp byte [esi + 0x50], 0x62
jne 0x417f13
push 4
lea ecx, [esi + 0x2c]
call fcn.00418120
mov ecx, esi
call fcn.00417dd0
jmp 0x4180a0
test eax, eax
je 0x417f3a
cmp byte [esi + 0x50], 0x42
jne 0x417f3a
push 4
lea ecx, [esi + 0x2c]
call fcn.00418120
mov eax, dword [esi + 0x30]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00417dd0
jmp 0x4180a0
mov ecx, esi
call fcn.00419660
jmp 0x418099
cmp eax, 0x5b
jne 0x417ff9
mov ecx, esi
call fcn.00417dd0
lea ecx, [esi + 0x2c]
call fcn.0041a350
mov eax, dword [esi + 0x54]
cmp eax, 0x5e
jne 0x417f77
mov eax, dword [esi + 0x30]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00417dd0
mov eax, dword [esi + 0x54]
test dword [esi + 0x58], 0x20000000
je 0x417fe3
cmp eax, 0x5d
jne 0x417fe3
test dword [esi + 0x34], 0x100
mov bl, al
je 0x417fa1
mov eax, dword [esi + 0x38]
push 0x5d
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov bl, al
mov edi, dword [esi + 0x30]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x417fc7
push 0x20
call fcn.004ade30
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
movzx edx, bl
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.00417dd0
mov ecx, esi
call fcn.00419e30
cmp dword [esi + 0x54], 0x5d
jne 0x4180be
jmp 0x418092
cmp eax, 0x28
jne 0x418025
mov ecx, esi
call fcn.00417dd0
mov ecx, esi
call fcn.00419890
cmp dword [esi + 0x54], 0x29
mov bl, al
jne 0x4180c5
mov ecx, esi
call fcn.00417dd0
test bl, bl
je 0x4180a0
jmp 0x418099
cmp eax, 0x5e
jne 0x41803d
push 2
lea ecx, [esi + 0x2c]
call fcn.00418120
mov ecx, esi
call fcn.00417dd0
jmp 0x4180a0
cmp eax, 0x24
jne 0x418055
push 3
lea ecx, [esi + 0x2c]
call fcn.00418120
mov ecx, esi
call fcn.00417dd0
jmp 0x4180a0
cmp eax, 0x2a
je 0x4180b7
cmp eax, 0x2b
je 0x4180b7
cmp eax, 0x3f
je 0x4180b7
cmp eax, 0x7b
je 0x4180b7
cmp eax, 0x7d
jne 0x418077
test dword [esi + 0x58], 0x10000000
je 0x4180cc
cmp eax, 0x5d
jne 0x418085
test dword [esi + 0x58], 0x10000000
je 0x4180be
movzx eax, byte [esi + 0x50]
lea ecx, [esi + 0x2c]
push eax
call fcn.00419b60
mov ecx, esi
call fcn.00417dd0
mov ecx, esi
call fcn.00419a00
mov eax, dword [esi + 0x54]
mov cl, 1
cmp eax, 0xffffffff
jne 0x417e47
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.004158e0
push 4
call fcn.004158e0
push 5
call fcn.004158e0
push 6
call fcn.004158e0
int3