Function at 0x664580
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x6d84f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.00661fb0
xor edi, edi
lea ecx, [esp + 0x3c]
push edi
push edi
push 1
push edi
mov dword [esp + 0x94], edi
call fcn.00661a50
lea ebp, [ebx + 0x90]
push eax
mov ecx, ebp
call fcn.006628a0
test eax, eax
jne 0x6647ac
mov eax, dword [ebx + 0x94]
cmp eax, edi
jne 0x66467e
push edi
push edi
push 1
push 0x7b
lea ecx, [esp + 0x3c]
lea esi, [ebx + 0xa0]
call fcn.00661a50
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
jne 0x664811
push edi
push edi
push 1
push 0x3f
lea ecx, [esp + 0x5c]
call fcn.00661a50
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
jne 0x664811
push edi
push edi
push 1
push 0x2a
lea ecx, [esp + 0x6c]
call fcn.00661a50
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
jne 0x664811
push edi
push edi
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.00661a50
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
jne 0x664811
mov ax, word [ebp]
push 1
lea ecx, [esp + 0x18]
push 1
mov dword [esp + 0x1c], eax
push ecx
jmp 0x66477e
cmp eax, 1
jne 0x66478e
mov ax, word [ebp]
cmp ax, 0x29
je 0x6647ac
cmp ax, 0x7c
je 0x6647ac
cmp dword [esp + 0x24], edi
jg 0x6647b6
cmp ax, 0x28
je 0x66483d
cmp ax, 0x5b
je 0x664870
cmp ax, 0x2e
je 0x664870
cmp ax, 0x77
je 0x664870
cmp ax, 0x57
je 0x664870
cmp ax, 0x73
je 0x664870
cmp ax, 0x53
je 0x664870
cmp ax, 0x64
je 0x664870
cmp ax, 0x44
je 0x664870
cmp ax, 0x5e
je 0x66485f
cmp ax, 0x24
je 0x66485f
cmp ax, 0x41
je 0x66485f
cmp ax, 0x5a
je 0x66485f
cmp ax, 0x7a
je 0x66485f
cmp ax, 0x62
je 0x66485f
cmp ax, 0x42
je 0x66485f
cmp ax, 0x47
je 0x66485f
cmp ax, 0x5c
je 0x66484e
cmp ax, 0x6b
je 0x66484e
cmp ax, 0x67
je 0x66484e
push 1
lea edx, [esp + 0x18]
push 1
mov dword [esp + 0x1c], eax
push edx
lea ecx, [esp + 0x28]
call fcn.00661fd0
mov ecx, ebx
call fcn.00664fd0
push edi
push edi
push 1
push edi
lea ecx, [esp + 0x4c]
call fcn.00661a50
push eax
mov ecx, ebp
call fcn.006628a0
test eax, eax
je 0x6645d8
cmp dword [esp + 0x24], edi
jle 0x66488e
push 0x1c
call fcn.006c0ab9
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x84], 1
je 0x664881
mov ecx, dword [esp + 0x20]
cmp ecx, edi
jne 0x6647e1
mov ecx, 0x75c7fc
mov edx, dword [esp + 0x8c]
mov edx, dword [edx]
mov esi, edx
and edx, 0x10
and esi, 8
push esi
push edx
mov edx, dword [esp + 0x2c]
push edx
push ecx
mov ecx, eax
call fcn.00669ca0
mov esi, eax
lea ecx, [ebx + 0x14]
push esi
call fcn.0066a810
jmp 0x664898
cmp dword [esp + 0x24], edi
jne 0x6647b0
mov ax, word [ebp]
push 1
lea ecx, [esp + 0x18]
push 1
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00661fd0
mov ecx, ebx
call fcn.00664fd0
jmp 0x6647ac
mov edx, dword [esp + 0x8c]
mov ecx, ebx
push edx
call fcn.00666970
jmp 0x664896
mov eax, dword [esp + 0x8c]
mov ecx, ebx
push eax
call fcn.00669430
jmp 0x664896
mov ecx, dword [esp + 0x8c]
push ecx
mov ecx, ebx
call fcn.006690e0
jmp 0x664896
mov edx, dword [esp + 0x8c]
mov ecx, ebx
push edx
call fcn.00665bb0
jmp 0x664896
xor esi, esi
lea ecx, [ebx + 0x14]
push esi
call fcn.0066a810
jmp 0x664898
push edi
mov ecx, ebx
call fcn.00663810
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
call fcn.00662080
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x14], esi
cmp eax, edi
je case.0x6648dc.46
xor eax, eax
mov dword [esp + 0x10], edi
mov ax, word [ebp]
add eax, 0xffffffd6
cmp eax, 0x51
ja case.0x6648dc.46
xor ecx, ecx
mov cl, byte [eax + 0x664f00]
jmp dword [ecx*4 + 0x664eec]
xor esi, esi
lea ecx, [esp + 0x2c]
push esi
push esi
call fcn.00669ff0
mov dword [esp + 0x2c], 0x75c7f8
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
lea edi, [ebx + 0x80]
mov edx, ebp
mov eax, edi
lea esi, [ebx + 0xa0]
mov ecx, dword [edx]
mov dword [esp + 0x84], 2
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, esi
mov ecx, dword [eax]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
mov dword [ebp + 0xc], edx
lea ebp, [ebx + 0xb0]
mov eax, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call fcn.006628d0
test eax, eax
jne 0x664980
mov ecx, ebx
call fcn.006628d0
test eax, eax
je 0x664975
lea ecx, [esp + 0x1c]
xor eax, eax
push ecx
lea ecx, [ebx + 0x90]
mov word [esp + 0x20], ax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.006628a0
test eax, eax
jne 0x664ada
mov ebx, 0x7d
xor eax, eax
lea edx, [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
push edx
mov word [esp + 0x40], bx
mov dword [esp + 0x44], 1
lea ecx, [eax + 0x90]
call fcn.006628a0
test eax, eax
jne 0x664ad6
mov ecx, dword [esp + 0x18]
add ecx, 0x90
mov ax, word [ecx]
mov dl, al
and edx, 0xff
cmp dx, ax
jne 0x664a0a
mov byte [esp + 0x8c], al
jmp 0x664a12
mov byte [esp + 0x8c], 0
push 1
lea ecx, [esp + 0x90]
push 1
push ecx
lea ecx, [esp + 0x38]
call fcn.00669f50
mov edx, dword [esp + 0x18]
mov ecx, edi
lea eax, [edx + 0x90]
mov edx, dword [edx + 0x90]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, esi
lea eax, [edx + 0x90]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, ebp
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
call fcn.006628d0
test eax, eax
jne 0x664aa3
mov ecx, dword [esp + 0x18]
call fcn.006628d0
test eax, eax
je 0x664a96
mov ecx, dword [esp + 0x18]
xor eax, eax
mov word [esp + 0x1c], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
add ecx, 0x90
mov dword [esp + 0x24], 1
call fcn.006628a0
test eax, eax
je 0x6649b4
mov ebx, dword [esp + 0x18]
lea eax, [ebx + 0x90]
mov edx, eax
mov ecx, dword [edx]
mov dword [edi], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [edx + 8]
mov dword [edi + 8], ecx
mov ecx, esi
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov dword [esi], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov ecx, ebx
mov dword [esi + 0xc], edx
call fcn.006628d0
test eax, eax
jne 0x664b3d
mov ecx, ebx
call fcn.006628d0
test eax, eax
je 0x664b32
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x664b4a
mov esi, 0x75c7f4
mov al, byte [esi]
xor edi, edi
test al, al
je 0x664b6c
movsx eax, byte [edi + esi]
push eax
call fcn.0069edac
add esp, 4
test eax, eax
je 0x664b6c
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x664b52
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x664bd3
cmp al, 0x39
jg 0x664bd3
lea ecx, [edi + 6]
xor ebp, ebp
cmp edi, ecx
mov dword [esp + 0x10], ebp
jae 0x664ba3
mov al, byte [edi + esi]
cmp al, 0x30
jl 0x664b9f
cmp al, 0x39
jg 0x664b9f
movsx eax, al
lea edx, [ebp + ebp*4]
inc edi
cmp edi, ecx
lea ebp, [eax + edx*2 - 0x30]
jb 0x664b84
mov dword [esp + 0x10], ebp
mov al, byte [edi + esi]
test al, al
je 0x664bc3
movsx ecx, al
push ecx
call fcn.0069edac
add esp, 4
test eax, eax
je 0x664bc3
mov al, byte [edi + esi + 1]
inc edi
test al, al
jne 0x664baa
mov al, byte [esi + edi]
add esi, edi
cmp al, 0x2c
je 0x664c1c
mov eax, 1
jmp 0x664bd9
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp eax, 2
mov edi, ebp
jne 0x664bef
mov edi, closesocket
mov eax, dword [esp + 0x10]
cmp edi, eax
jae 0x664bef
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0xffffffff
test eax, eax
mov dword [esp + 0x2c], 0x75c7f8
je 0x664da0
push eax
call fcn.0069f9be
add esp, 4
jmp 0x664da0
mov al, byte [esi + 1]
inc esi
xor ebp, ebp
test al, al
je 0x664c40
movsx edx, byte [esi + ebp]
push edx
call fcn.0069edac
add esp, 4
test eax, eax
je 0x664c40
mov al, byte [esi + ebp + 1]
inc ebp
test al, al
jne 0x664c26
mov al, byte [esi + ebp]
cmp al, 0x30
jl 0x664be0
cmp al, 0x39
jg 0x664be0
lea edx, [ebp + 6]
xor edi, edi
cmp ebp, edx
mov eax, ebp
jae 0x664c72
mov cl, byte [eax + esi]
cmp cl, 0x30
jl 0x664c72
cmp cl, 0x39
jg 0x664c72
movsx ecx, cl
lea edi, [edi + edi*4]
inc eax
cmp eax, edx
lea edi, [ecx + edi*2 - 0x30]
jb 0x664c56
add esi, eax
cmp byte [esi], 0
je 0x664be5
movsx edx, byte [esi]
push edx
call fcn.0069edac
add esp, 4
test eax, eax
je 0x664be5
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x664c7d
jmp 0x664be5
mov ecx, ebp
lea eax, [ebx + 0x80]
mov dword [esp + 0x10], edi
mov edi, 1
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
lea eax, [ebx + 0xa0]
mov edx, eax
mov ecx, dword [edx]
mov dword [ebp], ecx
mov ecx, dword [edx + 4]
mov dword [ebp + 4], ecx
mov ecx, dword [edx + 8]
mov dword [ebp + 8], ecx
lea ecx, [ebx + 0xb0]
mov edx, dword [edx + 0xc]
mov dword [ebp + 0xc], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call fcn.006628d0
test eax, eax
jne 0x664d28
mov ecx, ebx
call fcn.006628d0
test eax, eax
je 0x664d0b
jmp 0x664d28
mov dword [esp + 0x10], edi
mov ecx, ebx
mov edi, closesocket
call fcn.00664fd0
push 0
push 0
push 1
push 0x3f
lea ecx, [esp + 0x7c]
call fcn.00661a50
lea esi, [ebx + 0x90]
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
je 0x664e3a
mov ecx, ebx
call fcn.00664fd0
push 0x10
call fcn.006c0ab9
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 4
je 0x664eca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.00665410
mov esi, eax
jmp 0x664ecc
mov dword [esp + 0x10], 1
jmp 0x664d1c
test edi, edi
jne 0x664db1
push edi
mov ecx, ebx
call fcn.00663810
jmp 0x664ed7
mov ebp, dword [esp + 0x10]
cmp ebp, edi
jne 0x664d28
push 0
push 0
push 1
push 0x3f
lea ecx, [esp + 0x7c]
call fcn.00661a50
lea esi, [ebx + 0x90]
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
jne 0x664dfb
push eax
push eax
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.00661a50
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
je 0x664e02
mov ecx, ebx
call fcn.00664fd0
push 0xc
call fcn.006c0ab9
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 3
je 0x664eca
mov edx, dword [esp + 0x14]
push ebp
push edx
mov ecx, eax
call fcn.00665310
mov esi, eax
jmp 0x664ecc
push 0
push 0
push 1
push 0x2b
lea ecx, [esp + 0x7c]
call fcn.00661a50
push eax
mov ecx, esi
call fcn.006628a0
test eax, eax
je 0x664e94
mov ecx, ebx
call fcn.00664fd0
push 0x10
call fcn.006c0ab9
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 5
je 0x664eca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.006659c0
mov esi, eax
jmp 0x664ecc
push 0x10
call fcn.006c0ab9
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x84], 6
je 0x664eca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
mov ecx, eax
call fcn.006656d0
mov esi, eax
jmp 0x664ecc
xor esi, esi
push esi
lea ecx, [ebx + 0x14]
call fcn.0066a810
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4