Function at 0x40df30
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 + 0x4c]
cmp eax, 0xffffffff
je 0x40e1ae
cmp eax, 0x7c
je 0x40e1ae
cmp eax, 0x29
jne 0x40df6c
cmp dword [esi + 0x10], 0
jne 0x40e1ae
test dword [esi + 0x50], 0x10000000
je 0x40e1c5
cmp eax, 0x2e
jne 0x40dfe1
push 5
lea ecx, [esi + 0x24]
call fcn.0040e220
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40dfd5
cmp byte [eax], 0x5c
jne 0x40dfd2
lea ecx, [eax + 1]
cmp ecx, edx
je 0x40dfcb
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40dfa4
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40dfb5
cmp bl, 0x29
je 0x40dfb5
test dl, 0x10
jne 0x40dfcb
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x40dfb5
cmp dl, 0x7d
jne 0x40dfcb
mov dl, 1
test dl, dl
cmovne eax, ecx
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.0040cd10
jmp 0x40e199
xor dl, dl
test dl, dl
cmovne eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040cd10
jmp 0x40e199
cmp eax, 0x5c
jne 0x40e046
mov ecx, esi
call fcn.0040ded0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40e013
cmp byte [esi + 0x48], 0x62
jne 0x40e013
push 4
lea ecx, [esi + 0x24]
call fcn.0040e220
mov ecx, esi
call fcn.0040ded0
jmp 0x40e1a0
test eax, eax
je 0x40e03a
cmp byte [esi + 0x48], 0x42
jne 0x40e03a
push 4
lea ecx, [esi + 0x24]
call fcn.0040e220
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040ded0
jmp 0x40e1a0
mov ecx, esi
call fcn.0040f270
jmp 0x40e199
cmp eax, 0x5b
jne 0x40e0f9
mov ecx, esi
call fcn.0040ded0
lea ecx, [esi + 0x24]
call fcn.004106a0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40e077
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040ded0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40e0e3
cmp eax, 0x5d
jne 0x40e0e3
test dword [esi + 0x2c], 0x100
mov bl, al
je 0x40e0a1
mov eax, dword [esi + 0x30]
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 + 0x28]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x40e0c7
push 0x20
call fcn.004449a2
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.0040ded0
mov ecx, esi
call fcn.00410110
cmp dword [esi + 0x4c], 0x5d
jne 0x40e1be
jmp 0x40e192
cmp eax, 0x28
jne 0x40e125
mov ecx, esi
call fcn.0040ded0
mov ecx, esi
call fcn.0040f410
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40e1c5
mov ecx, esi
call fcn.0040ded0
test bl, bl
je 0x40e1a0
jmp 0x40e199
cmp eax, 0x5e
jne 0x40e13d
push 2
lea ecx, [esi + 0x24]
call fcn.0040e220
mov ecx, esi
call fcn.0040ded0
jmp 0x40e1a0
cmp eax, 0x24
jne 0x40e155
push 3
lea ecx, [esi + 0x24]
call fcn.0040e220
mov ecx, esi
call fcn.0040ded0
jmp 0x40e1a0
cmp eax, 0x2a
je 0x40e1b7
cmp eax, 0x2b
je 0x40e1b7
cmp eax, 0x3f
je 0x40e1b7
cmp eax, 0x7b
je 0x40e1b7
cmp eax, 0x7d
jne 0x40e177
test dword [esi + 0x50], 0x10000000
je 0x40e1cc
cmp eax, 0x5d
jne 0x40e185
test dword [esi + 0x50], 0x10000000
je 0x40e1be
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040f680
mov ecx, esi
call fcn.0040ded0
mov ecx, esi
call fcn.0040f520
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40df47
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0040cd00
push 4
call fcn.0040cd00
push 5
call fcn.0040cd00
push 6
call fcn.0040cd00
int3